I am a developer advocate for Firebase at Google.

I used to be a technical director at ZyLAB USA.

I used to be a Principal Developer at SDL, working mostly on the Tridion WCMS product.

8h
comment Updating variable in nested method doesn't update it globally
Different Firebase client platform, same problem: stackoverflow.com/questions/27049342/…
1d
answered How do you save a DATE field in Firebase using AngularFire
1d
comment firebase three-way binding and ng-bind-html
If you want control over when Firebase gets to see the new data, don't use $bindTo but instead call $save explicitly.
1d
comment In a Firebase Angular application, how to programmatically like a Facebook post when authenticated via Facebook
Related, but about twitter: stackoverflow.com/questions/29378608/…
1d
answered How to validate this data structure with Firebase security rules?
1d
revised How to validate this data structure with Firebase security rules?
edited tags; edited title
2d
comment Firebase Data Sorting
queryOrderedByKey should indeed fire FEventTypeChildAdded events in the order of the key. Unfortunately your code doesn't show enough data or information to determine what is going on. Can you set up a Firebase (e.g. 30009237.firebaseio-demo.com) with some sample data where the above code returns them in the wrong order?
May
2
comment Add new key value pair to existing Firebase
If you're using the JavaScript SDK for Firbase, you can simply call the update() method with the same parameters.
May
2
answered Firebase security rule: compare two objects for equality?
May
1
comment Firebase security rule: compare two objects for equality?
Ah, I now see your last remark. It would be really helpful if you actually include a sample of the data you're trying to validate. What would be even nicer is a snippet of code that reproduces the problem you're trying to solve. But in this case the answer would be the same: Firebase's security rules do not support comparing JSON fragments. You'll have to compare every leaf node in your rules to test for equality.
May
1
comment Firebase security rule: compare two objects for equality?
I just tried this and it works fine for me. Is there already a someNode in your Firebase? Because if not, you're indeed missing a !data.exists() as in the answer that @Marein pointed to.
May
1
comment Enforcing unique usernames with Firebase simplelogin
Awesome answer Marein!
Apr
30
comment FIrebase Java/Android createUser failing
Yup, that would work to. It's what I referred to as "lifecycle management". :-)
Apr
30
comment FIrebase Java/Android createUser failing
Thanks for confirming. I added it as an answer, because you're not the first one to fall into this trap. It's completely logical, once you realize what happens. But somehow it wasn't very natural to me either a few weeks ago.
Apr
30
answered FIrebase Java/Android createUser failing
Apr
30
comment FIrebase Java/Android createUser failing
You might want to add a Thread.sleep at the end of the program. Likely your program exits before Firebase gets a chance to send anything to the server. A more proper solution would be to introduce actual lifecycle management into your app, e.g. waiting for the createUser call to finish. But given that you'll be migrating this to Android (which handles app lifecycle completely different anyway) that might not be worth the effort.
Apr
30
comment AngularFire Firebase email/password authentication gives "Error: This custom Firebase server ('firebaseapp.com') does not support delegated login."
The database lives at firebaseio.com. If you also use Firebase Hosting, your deployed application will live on firebaseapp.com.
Apr
30
comment FIREBASE WARNING: set at /users/simplelogin:32 failed: permission_denied
Aha! I was wondering why the security balked, but you're right: not being logged on (completely yet) would indeed cause auth.uid to be null. Makes sense now.
Apr
30
comment Enforcing unique usernames with Firebase simplelogin
Good point Marein, I think that part of the thinkster tutorial might be a left-over from when before Firebase supported orderByChild. Back then all you had was setPriority, so that would have been the only querying mechanism. Nowadays I would indeed simply store the users email in their /profile/<uid> node and then ref.child('profile').orderByChild('email').equalTo(emailThatIsTryingToRegister)­.once('value'...
Apr
30
comment Persisting data in the DOM
That code should work just fine on $onAuth. See firebase.com/docs/web/libraries/angular/guide/…
1 2 3 4 5