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

Issue with IOS implementation #483

Closed
mdfateh opened this issue May 10, 2019 · 3 comments
Closed

Issue with IOS implementation #483

mdfateh opened this issue May 10, 2019 · 3 comments
Labels
🙏 help wanted Extra attention is needed 📱 iOS Related to iOS

Comments

@mdfateh
Copy link

mdfateh commented May 10, 2019

Version of react-native-iap

Version of react-native

Platforms you faced the error (IOS)

Expected behavior

Actual behavior

Tested environment (Emulator? Real Device? Both)

Steps to reproduce the behavior

I followed the manual instruction to add RNIap Library files in IOS Project, But as I attached the file,

Screenshot 2019-05-10 at 10 05 18 AM 1
it's showing semantic issues in RNIapIos.m File and other files as well.

@chr4ss1
Copy link

chr4ss1 commented May 10, 2019

downgrade the package or update to latest xcode #465

@hyochan hyochan added 🙏 help wanted Extra attention is needed 📱 iOS Related to iOS labels May 12, 2019
@mdfateh
Copy link
Author

mdfateh commented May 13, 2019

downgrade the package or update to latest xcode #465

I tried your solution. I downgraded the package, this time XCode Error resolved, but now I am getting an exception "can't read property 'buyProduct' of undefined", while I am calling the method 'buySubscription'. The same method in Android is working fine, But in iOS it is giving the above error!!

@hyochan
Copy link
Member

hyochan commented Jun 12, 2019

@mdfateh I think you are suffering from linking react-native native modules. Since this isn't a primary issue on our module I'll close it for now.

@hyochan hyochan closed this as completed Jun 12, 2019
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

No branches or pull requests

3 participants