I am using the Android Native plugin asset for IAP/AdMob/Leaderboards. I was having problems with these not working on older devices.
On advice from the developer of Android Native, I changed the version.xml file and set google_play_services_version to 4033534. However this breaks AdMob/Leaderboards on newer Android devices.
If I set google_play_services_version to 4033534 in version.xml, in app purchases work on all my test systems, but leaderboards/admob breaks on all my systems.
If I set google_play_services_version to 4452000 in version.xml, in app purchases/leaderboards/admob work on my Nexus (Android 4.3) but they are all broken on my Samsung S3 (Android 4.04) or Acer Iconia (Android 3.4).
I want in app purchases/leaderboards/admob to work across all these versions of Android.
I have spent more time getting IAP/AdMob/Leaderboards working than developing my game. I thought buying a plugin would save me time. But all I have is black box that keeps failing. Perhaps I am using the wrong plugin?
Is Prime31’s plugin more reliable?
I am at the end of my rope and really hope someone can offer up some suggestions to help get me back on track.
My Questions are:
-
What should the configuration of version.xml be? The older devices throw errors if this is 4452000, because they don’t have this version of play services installed. But if I set it back to 4033534 so it compatable with play services on older devices, it breaks Admob and Leaderboards working in the Android Native plugin.
-
Would a different Play Services plugin such as Prime31s be easier to integrate. Or are these type of issues just par for the course when developing for Android?
Thanks in advance.