startTrackerWithId not working
See original GitHub issueHere’s my ionic info:
cli packages: (/Users/andrewfurusawa/.nvm/versions/node/v9.6.1/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : android 7.0.0 ios 4.5.5
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 6.1.2
Node : v9.6.1
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment Variables:
ANDROID_HOME : /Users/andrewfurusawa/Library/Android/sdk
Misc:
backend : pro
and here’s the error log I’m getting:
07-31 23:12:29.546 26829 26901 W System.err: at com.google.android.gms.internal.zzami.zzaf(Unknown Source:0)
07-31 23:12:29.546 26829 26901 W System.err: at com.google.android.gms.analytics.GoogleAnalytics.getInstance(Unknown Source:0)
07-31 23:12:29.546 26829 26901 W System.err: at com.danielcwilson.plugins.analytics.UniversalAnalyticsPlugin.startTracker(UniversalAnalyticsPlugin.java:145)
07-31 23:12:29.546 26829 26901 W System.err: at com.danielcwilson.plugins.analytics.UniversalAnalyticsPlugin.execute(UniversalAnalyticsPlugin.java:53)
07-31 23:12:29.546 26829 26901 W System.err: at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
07-31 23:12:29.547 26829 26901 W System.err: at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
07-31 23:12:29.547 26829 26901 W System.err: at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
07-31 23:12:29.547 26829 26901 W System.err: at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
07-31 23:12:29.547 26829 26901 W System.err: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
07-31 23:12:29.547 26829 26901 W System.err: at org.chromium.base.SystemMessageHandler.handleMessage(SourceFile:9)
07-31 23:12:29.547 26829 26901 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
07-31 23:12:29.547 26829 26901 W System.err: at android.os.Looper.loop(Looper.java:164)
07-31 23:12:29.547 26829 26901 W System.err: at android.os.HandlerThread.run(HandlerThread.java:65)
07-31 23:12:29.548 26829 26901 W System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzbo" on path: DexPathList[[zip file "/data/app/com.scotts.groconnect-VhjOflE47_1y5Jai2-H2yw==/base.apk"],nativeLibraryDirectories=[/data/app/com.scotts.groconnect-VhjOflE47_1y5Jai2-H2yw==/lib/arm64, /system/lib64, /vendor/lib64]]
07-31 23:12:29.548 26829 26901 W System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
07-31 23:12:29.548 26829 26901 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
07-31 23:12:29.548 26829 26901 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
07-31 23:12:29.548 26829 26901 W System.err: ... 13 more
Context: I looked around for possible solutions and some people mentioned enabling multidex, which I did and it still doesn’t work.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Google Analytics startTrackerWithId not working - Ionic Native
Hi, We have an issue implementing Google Analytics plugin. On calling await this.ga.startTrackerWithId('UA-XXXXXXX-XX'); It never return ...
Read more >How to fix 'Object(...) is not a function' on startTrackerWithId ...
I'm stuck setting up google analytics in my ionic application. Main problem is that application won't work with error "Object(...) is not a ......
Read more >cordova-plugin-google-analytics - npm package
No known security issues ... with the new and old parameters in the method startTrackerWithId('UA-XXXX-YY', 30) to avoid loading issues reported.
Read more >Using Google Analytics With Ionic Framework
Learn how to get metric and usage information by using Google Analytics with Ionic Framework. Track various information for iOS and Android ...
Read more >Hybrid Mobile Development with Ionic - Page 90 - Google Books Result
If we set promptForRating() to false then it will not prompt immediately. ... g(true) }).then((_success) => { console.log("startTrackerWithId success") }) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did not work for me. I have no error message, but the startTrackerWithId Promise is never fulfilled…
issue #551 related to this one; please update to 1.9.0v