Open mathatan opened 5 years ago
Thanks for your help concerning the working version 1.8.3, I faced the same issue yesterday when I pushed on the PlayStore (I haven't test on Apple Store) Here are my plugins:
cordova-admob-sdk 0.17.0 "AdMob SDK" cordova-plugin-admob-free 0.15.0 "Cordova AdMob Plugin" cordova-plugin-app-version 0.1.9 "AppVersion" cordova-plugin-device 2.0.2 "Device" cordova-plugin-file 6.0.1 "File" cordova-plugin-firebase 0.1.25 "Google Firebase Plugin" cordova-plugin-globalization 1.0.9 "Globalization" cordova-plugin-inappbrowser 2.0.2 "InAppBrowser" cordova-plugin-media 5.0.2 "Media" cordova-plugin-network-information 2.0.1 "Network Information" cordova-plugin-screen-orientation 3.0.1 "Screen Orientation" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-plugin-x-socialsharing 5.2.1 "SocialSharing" cordova-promise-polyfill 0.0.2 "cordova-promise-polyfill" es6-promise-plugin 4.2.2 "Promise"
with
cordova-plugin-google-analytics 1.8.3 "Google Universal Analytics Plugin"
i face the same issue too. Tracking is not working in google analytics for android
GMS_VERSION is a OS variable, it need to be added to the env
I am facing the same issue. It doesn't crash, however. For me, the app compiles but doesn't log any views in Analytics.
Same issue here, downgrading to 1.8.2 works for me
I had this issue in 1.8.6 and I changed the gms version to 16.0.3 and it started to work.
cordova plugin add cordova-plugin-google-analytics --variable GMS_VERSION=16.0.3
Check other plugins and change the GMS_VERSION version accordingly
related to #551
We're experiencing a strange issue with 1.8.6 where the builds work perfectly fine and even install from apk to device performs as expected, but when installing from Google Play Store app crashes on first run to
java.lang.NoClassDefFoundError
.We've identified that downgrading google-analytics-plugin to 1.8.3 fixes the issue. Setting
GMS_VERSION
variable has in config.xml for 1.8.6 has no effect. This issue persist on multiple android platforms and there seems to be no connecting factor besides the plugin and install from Play Store.The Google Play Store error throw log is:
Android studio is using the currently available libraries with the exception of NDK version which is 16b (this is to enable building of Android platform 6.4.0)
OS: MacOS High Sierra 10.13.6 Cordova version 8.0.0 Android platform version 6.4.0 Plugins:
With the addition of
1.8.3 works perfectly fine but 1.8.6 crashes. But only if installed from Google Play Store and even then only on initial run. (I'm not entirely sure about only crashing on initial run, it might crash on any)
Due to issue appearing only on Google Play Store installs getting more detailed error reports is somewhat difficult and we've been unable to reproduce the issue with local installs.