poiuytrez / AndroidInAppBilling

Android App Billing plugin for Cordova
173 stars 144 forks source link

Resolve -1008 unknown error for subscribe() #106

Closed justinribeiro closed 8 years ago

justinribeiro commented 8 years ago

Using launchPurchaseFlow() in subscribe() can cause "response -1008: Unknown error" in certain cases. This fix updates subscribe() to call launchSubscriptionPurchaseFlow() in IABHelper.java.

Addresses #99

an-rahulpandey commented 8 years ago

I just created the new in app id in the store and uploaded the new binary with that new purchase id in the store. I am still having the same issue. However it works properly when I use the old in app id.