How can I launch an app and log an event in a few lines? #4556
-
Hi there, I wonder if I'm doing something wrong. I'm only trying to log an event in a few lines.
Js Code
android/build.gradle
android/app/build/gradle
Ps: I'm using react-native-google-signin + react-native-onesignal in this project too |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hmm |
Beta Was this translation helpful? Give feedback.
-
I read the script. It is doing what I did on my ongoing project on an example project, except that I only installed /app and /analytics. An observation: I cannot change the version of com.google.gms:google-services to 4.3.4. I'm trying to run in this project OneSignal + Google Signin + This Firebase library. OneSignal never worked 100% and if I change the version of gms, the project breaks. I forgot to mention, but this simple configuration to be able to log an event results in an error in my project. Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp () |
Beta Was this translation helpful? Give feedback.
Hmm
Start with this as your shell: https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh
(change the name to what you want though of course)
then log your event and it should work