Android In-App Billing v3 testing on multiple devices with the same test account -


i'm trying test actual purchases in application before publishing , using billing library v3. , have problem purchase of item has purchased on other device.

here actions:

  1. i signed , uploaded .apk developer console;
  2. i added real purchase item uploaded .apk;
  3. i added non-developer gmail account test accounts in developer console. account used on both test devices primary account;
  4. i uploaded signed .apk both test devices;
  5. i run application on first device , purchase item - working fine;
  6. now i'm trying ran application on other device. on startup application check purchases have been made. , says purchased item null! if try purchase again on second device returns "you own purchase" in response;

is problem unpublished app or test accounts? i'm sure sent "developer payload" string same on both devices think it's not case because on second device doesn't event check payload, returns null on inventory.getpurchase(sku_of_the_item) in response queryinventoryasync().

does had same problem?

it seems problem resolved. have 2 accounts on second device , switched primary account secondary acc without launching google play app. has launched @ least once - shows sort of "accept agreement" box , after accepting purchases in application processed correctly. hope helps someone.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -