Android billing - in the file Security.java should the base64EncodedPublicKey be the encoded value?
android, android-billing
Solution
The public key present in your Android Developer Console (which can be found under 'Edit Profile') is already Base64 encoded. Just copy paste the content of the key in your source file. For example, if you have something like this:
Then in your `Security.java`:
String base64EncodedPublicKey = "MIIBIjANBgkqhkiG9w0BAQ......";
Problem
Should I paste the actual public key of my app right into the value of this variable? Or should I encode it and then whatever the encoded string is, I'd make that string into the value of this variable? Which should it be?