• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Activity vars NULL after in-app Play Store transaction

kadmos

Newbie
I've managed to incorporate in-app billing into our product but it is failing on one of my two test devices - a Samsung Vibrant / Galaxy S running Android 4.0.3

The transactions themselves are confirming - reserved product ID's and our actual product ID's - but on this particular phone once the response code is received and the app's activity is brought back into view, several variables holding operation-critical values are NULLed out, crashing the app and preventing actions associated with the purchase.

This DOES NOT happen on another test device - an HTC Sense running Android 2.3.4.

Both devices are running Play Store version 3.5.19.

At a loss right now for trouble shooting. If there is a way to extract the product ID from the signedData bundle returned from the Play Store it would be a way for me to side-step the problem.

Any theories?


Thanks m8s
 
If there is a way to extract the product ID from the signedData bundle returned from the Play Store it would be a way for me to side-step the problem.

nvmd. got this.

:D


still curious why that happens on the version 4 phone though if anyone has any idea. might be useful info to someone else someday trying to implement in-app billing.
 
Back
Top Bottom