ti-firebase
ti-firebase copied to clipboard
FIRAnalytics.logEventWithName not send the event (iOS)
Hello,
Thank you very much for your awesome module. I will try it later to compile the module for android.
I see the user connected in the firebase console dashboard but I can not see my event sent to firebase with your code:
var FFN_FIREBASE = null; if(util.IS_IOS){ FFN_FIREBASE = require('ti.firebase'); FFN_FIREBASE.configure(); Ti.API.error("firebase project id: "+FFN_FIREBASE.getProjectID()); }
and then, once a user clicks to an item, i calls
FFN_FIREBASE.FIRAnalytics.logEventWithName({ name: 'View item', parameters: { 'ID': ITEM_ID, 'TITLE': data.data.titol, } });
Am I doing something wrong?
Thanks!