My app has worked fine a couple of days ago, now it only displays the Corona splash screen followed by eternal blackness. I made some changes to it since then but can’t see anything that would cause an invisible error.
It happens exclusively in a live build. The app works fine as a non-live build, and has no issues in the simulator.
I’m using build 2017.3064. The issue ocurred when I was still using a previous build (I don’t remember, perhaps two or three weeks old?). Updating Corona and recompiling the *.apk (forgot to mention: i’m using the Windows version of Corona and compiling for Android) didn’t affect the issue. Also at first the app did work with the previous build.
The project in question uses Facebook v4, the new Admob, the Parse plugin and some smaller *.lua modules but they all had worked fine before the black-screen problem and I didn’t add any new ones.
I’ll first double check if it’s not some obvious mistake on my side, and see if it works with the “hello world” sample. Then if it’s still the same I will send you the project to investigate.
I think it had to do with the way Android manages multiple user accounts.
I had the app installed additionally on another user account (for some user interaction testing) which apparently messed with the live build. Once I hit “uninstall for all users” it and reinstalled on the primary account, it immediately started working again.
I don’t know what was the exact issue but it I’m guessing when Corona Server refreshes the app it may lead to some sort of a conflict with the one installed on another account. In contrast, when a non-live build is installed Android updates the app for ALL users, so it works.
I’m using build 2017.3064. The issue ocurred when I was still using a previous build (I don’t remember, perhaps two or three weeks old?). Updating Corona and recompiling the *.apk (forgot to mention: i’m using the Windows version of Corona and compiling for Android) didn’t affect the issue. Also at first the app did work with the previous build.
The project in question uses Facebook v4, the new Admob, the Parse plugin and some smaller *.lua modules but they all had worked fine before the black-screen problem and I didn’t add any new ones.
I’ll first double check if it’s not some obvious mistake on my side, and see if it works with the “hello world” sample. Then if it’s still the same I will send you the project to investigate.
I think it had to do with the way Android manages multiple user accounts.
I had the app installed additionally on another user account (for some user interaction testing) which apparently messed with the live build. Once I hit “uninstall for all users” it and reinstalled on the primary account, it immediately started working again.
I don’t know what was the exact issue but it I’m guessing when Corona Server refreshes the app it may lead to some sort of a conflict with the one installed on another account. In contrast, when a non-live build is installed Android updates the app for ALL users, so it works.