-
Notifications
You must be signed in to change notification settings - Fork 253
Troubleshooting
You can specify googlePlayServicesVersion
in "android/gradle.properties". Otherwise, it will take default version
e.g.
googlePlayServicesVersion=11.8.0
See this wiki post for more info on handling conflicting versions.
This is NOT (normally) an error with this library. Please read this guide on how to set up your Google Analytics account/property for mobile analytics.
Some people have had problems being hit with Unknown source file : com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzmu;
after installing this (or similar modules). Other errors might occur as well, but the underlying problem may be dependency mismatches.
See https://github.com/idehub/react-native-google-analytics-bridge/wiki/Android-build-problems for solution.
There is a divergence in how the iOS and Android versions of the native library handles logging.
For Android you can check the GA logs with your favorite terminal by using adb logcat
.
For iOS there is a logger in the internal library that writes events to the XCode output window.
In order to control the logLevel
you can add an item in your Info.plist
with the key GAILogLevel
. The value you use is a number which corresponds to your desired log-level:
- 0: None
- 1: Errors
- 2: Warnings
- 3: Info
- 4: Verbose
Can we track Enhanced E commerce data from app using this flow?