Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Amazon subscription purchase returns product without price, resulting in crash #518

Open
clhols opened this issue Jan 13, 2016 · 1 comment

Comments

@clhols
Copy link

clhols commented Jan 13, 2016

AmazonAppstoreBillingService.getSkuDetails:
....
final String price = product.getPrice().toString();
....

If product.getPrice() returns null, you get a nullpointer exception. If think the toString() call is futile as getPrice() returns a String.

@clhols
Copy link
Author

clhols commented Jan 13, 2016

Made a pull request to remove the toString() call:
#519

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant