Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

added a toValue function that handles primitive types on android #148

Merged
merged 1 commit into from
Oct 9, 2016

Conversation

samuelagm
Copy link
Contributor

@samuelagm samuelagm commented Oct 3, 2016

Javascript implementation of firebase.push/setValue on android has issues with primitive types; strings are stored in firebase db as an array of characters, booleans don't get to firebase db at all, e.t.c. This is as a result of toHashMap being called on values passed to .push and .setValue regardless of their type.
I've added the ability to handle them.

@samuelagm samuelagm changed the title added a toValue function that handles primitive types added a toValue function that handles primitive types on android Oct 3, 2016
@EddyVerbruggen EddyVerbruggen merged commit 9c6bb89 into EddyVerbruggen:master Oct 9, 2016
@EddyVerbruggen
Copy link
Owner

I must admit I didn't test this case, so thank you very much for adding this fix @samuelagm!

@samuelagm
Copy link
Contributor Author

Don't mention.

Regards.

On Oct 9, 2016 4:33 PM, "Eddy Verbruggen" notifications@github.com wrote:

I must admit I didn't test this case, so thank you very much for adding
this fix @samuelagm https://github.com/samuelagm!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#148 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABf7pTGLItCrooq4tZBToGO46EkZgIPfks5qyQlkgaJpZM4KMKOI
.

EddyVerbruggen added a commit that referenced this pull request Apr 18, 2017
 added a toValue function that handles primitive types on android
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants