So I’ve just started to try and implement in-app purchases. The documentation is not reliable, the latest information on the forums I find is not accurate or helpful and by using the “Show External Login UI” my app now crashes.
I have now fixed it myself after much trial and error and searching the Stackexchange on pure Android projects.
Sony Xperia Z1 Compact
5.0.1
4.9.2
I did try 4.10 Preview 2 but it didn’t change anything. Same crash occurred.
Really what you need to do is much more complicated to make this work. You have to add additional parameters to the Android Project Settings, the App’s ID to the String Value file and open up for about 8 different APIs in the developer console.
The only way I figured any of this out was to do an ADB Logcat file of the system running and trying to start the game and then filter through a big log of text to find the final errors.
One of the errors were that logging in failed as a specific API was not unlocked in the developer console.
The Error that comes after is that the app has no App ID.