I hereby claim:
- I am creativeguy2013 on github.
- I am lucacasonato (https://keybase.io/lucacasonato) on keybase.
- I have a public key whose fingerprint is 9E56 9ED0 0724 4503 D97B 05D8 6A72 DF60 FBAE 5977
To claim this, I am signing this object:
lucacasonato | |
luca-rand |
I hereby claim:
To claim this, I am signing this object:
{ | |
"comments": [{ | |
"id": "5c4081ab2d2ab7110393de93", | |
"user": "203a36cf38c863d5a9a9a9f0", | |
"video": "8dYZDar1Xs", | |
"text": "Good video!", | |
"replying": null, | |
"postDate": "2019-01-26T22:39:06.413Z", | |
"editDate": "2019-01-26T22:39:06.413Z", | |
"replies": [], |
const functions = require('firebase-functions'); | |
const admin = require('firebase-admin'); | |
admin.initializeApp(functions.config().firebase); | |
// On sign up. | |
exports.processSignUp = functions.auth.user().onCreate(event => { | |
const user = event.data; // The Firebase user. | |
// Check if user meets role criteria. | |
if (user.email && |
def localProperties = new Properties() | |
def localPropertiesFile = rootProject.file('local.properties') | |
if (localPropertiesFile.exists()) { | |
localPropertiesFile.withReader('UTF-8') { reader -> | |
localProperties.load(reader) | |
} | |
} | |
def flutterRoot = localProperties.getProperty('flutter.sdk') | |
if (flutterRoot == null) { |