Closed ghost closed 6 years ago
Function configure() results in an error when I pass GCMSenderID as an integer:
configure()
GCMSenderID
var fcc = require('firebase.core'); fcc.configure({ APIKey: 'aaabbbccc', projectID: 'proj-id', googleAppID: 'a:bbbbasdfcccce', GCMSenderID: 2221122211239 });
this is solved by:
GCMSenderID: '2221122211239'
I will create a PR for the readme, but a code fix might be handy too.
The native side requires a String value, so we should be strict and requiring the same. I am welcome accepting a pull request adding the types to the configuration keys!
https://github.com/hansemannn/titanium-firebase-core/pull/15
Function
configure()
results in an error when I passGCMSenderID
as an integer:this is solved by:
I will create a PR for the readme, but a code fix might be handy too.