ssawchenko / marketbilling

Automatically exported from code.google.com/p/marketbilling
0 stars 0 forks source link

checkBillingSupported() should be called during start, not during create. #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Install dungeons example
2. Turn off WIFI
3. Start dungeons
4. Turn on WIFI

EXPECTED OUTPUT:
Enabled buy button.

ACTUAL OUTPUT:
Buy button will not get enabled.

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:
latest

MARKET/MYAPPS VERSION:
latest

DEVICE:
any

OUTPUT FROM ADB BUGREPORT ATTACHED:
(Note: The output from "adb bugreport" is required for all bug reports.)

NOTES:
This is caused by the fact that checkBillingSupported() is only done in 
Create(), not in Start().
So that means that if network was down during app launch, you can never do 
billing, even if network gets started later.

Original issue reported on code.google.com by b.st...@gmail.com on 24 Nov 2012 at 10:06