Open muszek opened 10 years ago
You can fix the problem in the following way:
In InAppBillingPlugin.java look for:
if (!hasErrorsAndUpdateInventory(result, inventory)) {
}
and change it to:
if (hasErrorsAndUpdateInventory(result, inventory)) return;
@poiuytrez a fix for ya? (I don't speak Java, I don't think I should make the commit).
If you want a working version you can check out my fork. Which also allows the installation via
cordova plugin add https://github.com/werk85/AndroidInAppBilling
Can you please make a pull request?
On Thu, Jun 19, 2014 at 11:34 AM, Malte Legenhausen < notifications@github.com> wrote:
If you want a working version you can check out my fork. Which also allows the installation via cordova plugin add https://github.com/werk85/AndroidInAppBilling
— Reply to this email directly or view it on GitHub https://github.com/poiuytrez/AndroidInAppBilling/issues/45#issuecomment-46540842 .
Kind regards, Mateusz Mucha muszek@gmail.com
@mlegenhausen Do not hesitate to make a pull request, I will accept it.
When the plugin is initialized, there's no internet connection and getProductDetails() is called, the app crashes. Steps to reproduce:
I've tried it a few times, with and without the internet connection at #3. Every time it crashed the app when connection was not present and was successful when the device was connected.
A log from ddms (I hope I got all the relevant parts):