Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature missing from Android purchase. #31

Closed
Froelund opened this issue Feb 20, 2018 · 1 comment
Closed

Signature missing from Android purchase. #31

Froelund opened this issue Feb 20, 2018 · 1 comment

Comments

@Froelund
Copy link
Contributor

Hi!

I need to validate purchases from the backend, but I'm missing signature on the purchase.

The Purchase class com.android.billingclient.api.Purchase already contains the signature, but it needs to be passed in the response.

@JJMoon
Copy link
Contributor

JJMoon commented Feb 22, 2018

I am not Android specialist, but it looks like 'buyItem' method returns Purchase object, and send back to RN side as it is. ( RNIapModule.java line 419 )
I found signature on getPurchasedItemsAndroid. Can you use that instead?

jenni-divvito added a commit to jenni-divvito/react-native-iap that referenced this issue Jun 1, 2018
in dooboolab-community#31 and the associated pull request, dooboolab-community#32, the data and signature params were added for android. This would bring the types into sync with this change
marzuq-adebayo-dev added a commit to marzuq-adebayo-dev/React-Native-iap that referenced this issue May 20, 2023
in dooboolab-community/react-native-iap#31 and the associated pull request, #32, the data and signature params were added for android. This would bring the types into sync with this change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants