iaphub / react-native-iaphub

The easiest way to implement IAP (In-app purchase) in your React Native app.
https://www.iaphub.com/
MIT License
317 stars 21 forks source link

Android platform errror #110

Closed WtfLaika closed 2 years ago

WtfLaika commented 2 years ago

Hello @iaphub ,

I used before version iaphub 6.4.1 and decided to mirgrate to version 7.0.0. And after migration, when i'm trying to buy subscription on Android i get error.

Screenshot_20220419_184452_com digilooms

Conditions:

Data: Platform - Android Iaphub: 7.0.0 react-native: 0.64.1

Steps:

  1. login to account with my uuid;
  2. Get subscriptions;
  3. Try to subscribe for product

Also had troubles installing the last version. On site npmjs you have last version 6.4.2 https://www.npmjs.com/package/react-native-iaphub. I installed your library manually .

iaphub commented 2 years ago

Hello @WtfLaika, Thanks for the feedback, this is a bug indeed, we'll fix it ASAP, the crossPlatformConflict parameter should be optional. In the meantime it should work just fine if you specify the parameter:

await Iaphub.buy("product_sku", {crossPlatformConflict: true})
WtfLaika commented 2 years ago

Thank you!

On Tue, Apr 19, 2022 at 7:07 PM iaphub @.***> wrote:

Hello @WtfLaika https://github.com/WtfLaika, Thanks for the feedback, this is a bug indeed, we'll fix it ASAP, the crossPlatformConflict parameter should be optional. In the meantime it should work just fine if you specify the parameter:

await Iaphub.buy("product_sku", {crossPlatformConflict: true})

— Reply to this email directly, view it on GitHub https://github.com/iaphub/react-native-iaphub/issues/110#issuecomment-1102832172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYXOFJODAQMJSSQ24WFVXLVF3K3VANCNFSM5TZJCYLQ . You are receiving this because you were mentioned.Message ID: @.***>

iaphub commented 2 years ago

The issue has been fixed in the new version 7.0.1 👍