-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
iOS version will not build #462
Comments
have the same issue |
I updated react-native-iap@2.3.23 and solved |
@kilicfurkan |
@josesn What version of react-native and react-native-iap are you using? I changed to react-native-iap@2.3.23 and now I am getting |
@akyker20 |
You can add 'IAPPromotionObserver.m' file manually like this: facebook/react-native#19569 (comment) |
@akyker20 Mostly, these kinds of issues are not actually related to the module itself. Please see more information on |
I had the same issue today when I've added one more person to the project and he has executed a command There are two reasons why that happened:
To resolve this issue I recommend to use modern API availability checks (namely @available) for code uses If that will be suitable I could provide pull request for these recommendations. |
Version of react-native-iap
2.4.9
Version of react-native
0.57.4
Platforms you faced the error (IOS or Android or both?)
ios
Expected behavior
Not fail to build in xcode
Actual behavior
Fails to build in xcode
Tested environment (Emulator? Real Device?)
Read Device
Steps to reproduce the behavior
I followed steps in the readme
The text was updated successfully, but these errors were encountered: