libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
224 stars 83 forks source link

Nullpointerexception for PurchaseSystem.getInformation on android 4.x #65

Closed Trurl101 closed 8 years ago

Trurl101 commented 8 years ago

PurchaseSystem.getInformation(..) throws NullPointerException when a device is in airplanemode.

Error occurred with both 0.5.0 and 0.6.0-SNAPSHOT. Only with android 4.x (tested on Galaxy S3, Note 1), not on 2.x (Galaxy S1) or 5.x (Note 3).

It happens always in the emulator regardless of the android version.

Trurl101 commented 8 years ago

Not the getInformation(...) call throws Nullpointer but the String returned was null and the further processing in my code throws an error.

Nonetheless it seems that with android 2.3 an issue with openiab (https://github.com/libgdx/gdx-pay/issues/32).