dhabed
1
Hi,
We have an issue implementing Google Analytics plugin. On calling
await this.ga.startTrackerWithId(‘UA-XXXXXXX-XX’);
It never return call back.
This is a situation similar to the one described at this post:
Ionic CLI version is 6.10.1, cordova-plugin-ionic 5.4.6, Google Analytics plugin version, from package.json, is 1.0.9.
Thanks in advance,
Danfer.
rembi
2
- make sure the Google Service SDK install
- specify GMS_VERSION on install cordova-plugin-google-analytic, like ‘ionic cordova plugin add cordova-plugin-google-analytics --variable GMS_VERSION=17.0.1’
If you capture logging from logcat (android) you may find some (classNotFoundException) google class is missing Exception before plugin callback
Hope this help