Software Archive
Read-only legacy content
17061 Discussions

Admob Pro and Google Analytics not working on builds with XDK

Selmar_W_
Beginner
1,258 Views

Hey all, I'm trying to implement the Google Analytics and Admob plugin in my cordova based app in Intel XDK. They both don't seemed to work when compiled with the build service of Intel, but when I compile the app with the cordova command line interface, they work perfectly normal. Anyone else got the same experience with that? 

I used these two plugins:
https://github.com/danwilson/google-analytics-plugin
https://github.com/floatinghotpot/cordova-admob-pro

I've integrated the plugins via the plugin settings under Third-party Plugins and linked to the correspondending git repo's.
The build log also prints out that the plugins are succesfully installed. The app is for Android and iOS.
Any help would be greatly appreciated. Thanks!

0 Kudos
6 Replies
Amrita_C_Intel
Employee
1,258 Views

Hello,

I recreated the above mentioned app and included both the plugins. I was able to successfully build for android. Which XDK version are you using? Can you provide with some screenshots where build is unsuccessful.

Thanks,

Amrita

0 Kudos
Selmar_W_
Beginner
1,258 Views

Hey Amrita,

Thank you for taking the time to test that out. I use the newest version as of today, v1878.
The thing is, the builds are always succesfull, I'll attach a screenshot showing this.
Upon launching the app the screen appears white and does not do more than that, and with the cordova command line it's working normally.

0 Kudos
Selmar_W_
Beginner
1,258 Views

Bump, anyone?

0 Kudos
John_H_Intel2
Employee
1,258 Views

If you remove the plugins, does the app build/install/ do what you expect? (minus the plugin behavior)

0 Kudos
Selmar_W_
Beginner
1,258 Views

Hey John, yes the app does what it needs to do when Admob and Analytics plugins are not enabled. 

0 Kudos
John_H_Intel2
Employee
1,258 Views

What about if you include admob, but not the google analytics?

 

0 Kudos
Reply