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

Promoted IAP doest work on react-native 61.5 #971

Closed
punjasin opened this issue Apr 13, 2020 · 2 comments · Fixed by #976
Closed

Promoted IAP doest work on react-native 61.5 #971

punjasin opened this issue Apr 13, 2020 · 2 comments · Fixed by #976
Labels
🙏 help wanted Extra attention is needed 📱 iOS Related to iOS

Comments

@punjasin
Copy link

punjasin commented Apr 13, 2020

Version of react-native-iap

4.4.2

Version of react-native

0.61.5

Platforms you faced the error (IOS or Android or both?)

IOS

Expected behavior

test link work
itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=com.example.app.productid

Actual behavior

nothing happen
in Xcode Log it show
[Daemon] [SKPaymentQueue]: Tried to send purchase intent: {com.example.app.productid} to delegate, delegate does not respond to method

Tested environment (Emulator? Real Device?)

IOS Real Device Iphone XR

Steps to reproduce the behavior

create new project
install react-native-iap
add listener according to example
open test link

@punjasin
Copy link
Author

i found solutions by remove the comment code in library out and it work

@hyochan
Copy link
Owner

hyochan commented Apr 14, 2020

I hope you to check this one out!

@punjasin Also, do you mind updating our readme to put the above code in viewDidLoad in post-installation section?

hyochan added a commit that referenced this issue Apr 15, 2020
hyochan added a commit that referenced this issue Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 help wanted Extra attention is needed 📱 iOS Related to iOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants