Hey there, I’m having a problem with parsing Google license key(Google public key): When I close or switch settings window In-App Purchasing my code resets to “Enter key”, help me please
Please indicate your versions of Unity and IAP package.
Thanks for answering, it’s 4.12.2
Hey @DamyrB,
I’ve talked with the team and we agree that process can be improved. For now I believe you should be able to resolve the issue by:
- Adding the public key in the Unity Dashboard (docs)
- Then (for receipt obfuscation) the key should be entered already for you in the editor and all you have to do is click “Obfuscate License Keys” which will generate the
GooglePlayTangle.cs
file
Is it possible the Google key uploaded to the dashboard was not in the correct format (given the error at the top of the window)?
I copied this from Google play console, This window was always this way. I verified Google key through dashboard and it was verified and saved successfuly, but Editor doesn’t care about this and continious to reset key to “Enter key”, if I make a build with this error but before Google key reseting and with key in dashboard will IAP works correctly after publishing in Google play?
Hi everyone,
Regarding JsonParseException:
If you are using Unity Editor 2020 or 2021, please note that these versions might be outdated and could be using a legacy analytics endpoint.
You might find this discussion helpful, and it could be that upgrading to version 2022 might help to resolve the issue.
Thanks,
Vlatko