tslamic/premiumer

onPurchase (mPremiumer.purchase(this);) exception

Closed this issue · 5 comments

Hi
the method onPurchase throws an error when my button call it.
The exact line:
final boolean enqueued = mPremiumer.purchase(this);
Exception type:
Method threw 'java.lang.IllegalArgumentException' exception.
Message:
Can only use lower 16 bits for requestCode

It happens while running it on real Pexil XL device.

Hi,

thanks for reporting this. Will be fixed in the next release, hopefully beginning of next week, unless you wish to contribute. ;)

Thanks.

When next release will be published?

Hi, v2 will be available tomorrow or Wednesday at the latest.

Hi, v2 candidate is available in the dev branch. Not pushed to maven central yet, so you'll have to clone/fork it and import it as a library. Happy coding!

Premiumer v2 released.