emit events (firestack.analytics.logEventWithName)
devgenerate opened this issue · 4 comments
Hello, I am using this code to send en event and add it to the events list on firebase analytics:
const firestack = new Firestack({ debug: true });
firestack.analytics.logEventWithName('init_home', {
screen: 'home',
})
.then(res => console.log('Sent event named launch'))
.catch(err => console.error('You should never end up here'));
And I don't know if I need more configurations, so this code doesn't work os in the firebase console show an image that say Integrate the SDK and the first event reports are displayed within 24 hours and I don't know what is bad.`
I made this configuration on one component of my app
const firestack = new Firestack({ debug: true });
And that's all what I do. Is necessary to add more configurations? I added google-services.json on my android/app directory. Thanks
Did you figure it out @davidgit75 ?
@davidgit75 @dzuncoi I don't think this is fully implemented yet here, but there are alternatives you can use.
Yeah, I solved using only react-native-firebase-analytics
Thanks for help