Open agamemnus opened 9 years ago
Same here, using cordova CLI 4.1.2 and android 3.5.0. Any updates on this?
Where you found the $BILLING_KEY ? In my config -i use phonegap build), i have my own key, and that is
Everything probably changed now...
I solve the problem, this plugin doesnt work with phone gap build, i found another maintened
Link to Base64.java here.
This is after a test order of "ad_removal_purchased". I got the screen, entered the password, and then it crashed. My server is not yet set up to ping Google Play with IAP verification and approvals but I don't think it went that far. It crashed when I did the order, and it is crashing on startup (the .refresh() call assume)
Edit: I found the reason. Somehow I still had
$BILLING_KEY
for my public key. $ wasn't valid so it crashed. I was using https://github.com/j3k0/cordova-plugin-purchase. I guess you made the Android code... maybe it can check for "$BILLING_KEY" on startup and send an error if that's the public key, or something... instead of crashing.