I’ve had more users complain of this - as with d.mach I made no code changes - it just stopped working.
Has this been confirned? We are experiencing same issues…
Any news on this?
BUILD 2016.2830
my biz app (version 2) is now crashing on my Android tablet after the initial screen (menu.lua) appears. Version 1, published on Google and Apple Stores, is fine and works as advertised on either device.
Now menu.lua (my first displayed screen after main.lua) opens but immediately closes down on my Android device. This is not happening on my apple device.
Versions 1 & 2 are on the same build.
ISSUE RESOLVED BY REMOVING GOOGLE LICENSING CODE
I removed the following code (Google Licensing Code) from main.lua and my app is now stable on my Android device. Note that this same code was included on Version 1 and successfully worked on the version uploaded to Google PlayStore.
if string.sub(system.getInfo("architectureInfo"),1,3) == "ARM" and var.developer==false then local licensing = require( "licensing" ) licensing.init( "google" ) local function licensingListener( event ) local verified = event.isVerified if not event.isVerified then --failed verify app from the play store, we print a message print( "Pirates: Walk the Plank!!!" ) native.requestExit() --assuming this is how we handle pirates end end licensing.verify( licensingListener ) end
The above code, temporarily removed from Version 2, is in main.lua - but the Android device’s screen that displays is the screen directed to at the conclusion of main.lua. The initial screen shows for about .50 second - and then the entire app disappears on the Android. This doesn’t happen on Apple.
Do I need to move to a new build? or is this a Google-based issue?
Thanks.
Seth
See post immediately above (by same writer).
In the function licensingListener(), I removed the native.requestExit() call. This call was causing my app to disappear rather than “crash”.
My app is now “stable” on the Android device. But I’m clearly failing the Google Licensing confirmation step.
I originally bought my Version 1 on the Google store - and downloaded it to my own Android nexus10 tablet. It operated fine. Since then, I have uninstalled it - and loaded my newest version by simply emailing my new .apk files as attachments. In all cases, the Android device recognizes the .apk and installs it properly.
Could my problem be caused by having a live version on the Google Play store? And I’m installing an updated .apk (for testing purposes) that is NOT downloaded directly from the Google PlayStore?
I want to release this Version 2 to apple/google but cannot proceed with this Google Licensing failure showing up.
thanks for any advice/comments.
Seth