Open devAtPolydeals opened 9 years ago
play with using both document
and collection
;
http://jsbin.com/lokegu/edit?html,output
@marcus7777 thanks for your reply. You are using firebase push operation, i wanted to use the add method as mentioned in firebase-collection document to add data. see https://elements.polymer-project.org/elements/firebase-element?active=firebase-collection
I am able to successfully log in and get the token back but then when i try to add data i get exception, can you guys help? Below is my code:
The exception is at https://github.com/GoogleWebComponents/firebase-element/blob/master/firebase-collection.html#L227