One of my apps has been in the Google Play store (and iOS) for a year, and recently I moved from an old google analytics simple lua file to the Coronalabs Google Analytics plugin. It seemed to be going well on all my apps, but then I got a complaint from one user that the app would not install. I don’t know yet the device and details, but I did more thorough testing with Google’s pre-launch report, and saw that 2/13 devices had crashes. The crash looked like:
java.lang.NoSuchMethodError: No virtual method getLongVersionCode()J in class Landroid/content/pm/PackageInfo; or its super classes (declaration of ‘android.content.pm.PackageInfo’ appears in /system/framework/framework.jar)
So I disabled pieces and parts and retested to see what made the difference, and removing google analytics made those errors disappear in the pre-launch report.
The two devices were:
Huawei P8 Lite running an old version of Android
Huawei P8 Lite running an old version of Android
Xperia XZ1 Compact running Android 8
I have been building with the latest builds to get the 64-bit support, but specifically 3498, 3512 and 3527.
I will try earlier builds also, but there does seem to be a real problem there. Should I be using a different analytics?