I’ve had two users reporting that they can no longer start my app, they are getting
Runtime Error
java.lang.SecurityException: Neither user 10110 nor current process has com.android.vending.CHECK_LICENSE.
The user number is different for each person who has reported it as would be expected.
The app is built using the latest public release 2017.3068. The line of code causing the problem is
licensing.verify( licensingListener ). Licensing.init has been called and my build settings has “com.android.vending.CHECK_LICENSE” and “com.android.vending.BILLING”
I have just over 20,000 users of my apps, each app has the same licensing check code. I’ve never had this come up before over a fair few years now, but suddenly i get two users report it a day apart. The two users are having problems with the same app, this particular app (9000 users) is running the latest public build, but i dont think any of the other apps are, they would be on the previous public build or possibly even earlier.
Both users are running Android 4.0.4, one of them has hard reset his tablet and the problem still remains after reinstalling it. The other user has multiple devices, one is having this issue, the other is not, same google play account. The devices affected are different for each user.
I’ve googled this particular error, and most indicate this can happen when Google Play is not installed, however both my users definitely have it installed on their devices.
I’m not really sure where to go from here, I’ve run out of ideas as to what could be causing this issue which is why I’ve posted here for help.
On a related note, the licensing doco for 2017.3068 indicates that licensing.init is supposed to return true on success, otherwise false. In my testing here, it always returns false for me on my tablet, however licensing.verify works fine if i call it anyway. Verify gives me the correct result (as per the settings in my portal for the alpha/beta app license check responses) so it is working. I tested verify against all the different license validation responses you can set in the portal to make sure it was working.