react-native-iap
react-native-iap copied to clipboard
feat: add visionOS support
This PR adds visionOS support.
I've refactored some parts of the code to take the currently presented scene by wrapping built-in utility RCTKeyWindow() to work in async scenarios.
Testing
npx @callstack/react-native-visionos init App- Add react-native-iap
- Check out if it works
Demo
https://github.com/dooboolab-community/react-native-iap/assets/52801365/c2391f3a-c8b9-4fd8-acba-e2871c7aaae7
Build is failing because CI needs a newer Xcode version
@hyochan can @okwasniewski get some permissions to help work out the CI issue, so this PR can be made to pass CI? His similar visionOS work has been merged in gesture-handler, reanimated, screens, and numerous other projects. It would be great to get IAP support into a release of our react-native-visionos apps soon without the need for local patches :D
Hey @hyochan, I've fixed the CI and the PR is now ready for review. Let me know if I can help you in any way to get this merged
@TheRogue76 was there anything else needed for this to be merged? I'm excited to remove our local patch-package and let other RNV apps start to monetize :)
@TheRogue76 was there anything else needed for this to be merged? I'm excited to remove our local patch-package and let other RNV apps start to monetize :)
I am not a maintainer of RN IAP, simply an open-source contributor who used this repo at one point and had it marked as watched. I just double-checked the PR. I do not have access to the repo to merge or block the PRs. As far as I see, the PR is perfectly fine.
@TheRogue76 was there anything else needed for this to be merged? I'm excited to remove our local patch-package and let other RNV apps start to monetize :)
I am not a maintainer of RN IAP, simply an open-source contributor who used this repo at one point and had it marked as watched. I just double-checked the PR. I do not have access to the repo to merge or block the PRs. As far as I see, the PR is perfectly fine.
Could you kindly accept this review when you think this PR is good?
@TheRogue76 was there anything else needed for this to be merged? I'm excited to remove our local patch-package and let other RNV apps start to monetize :)
I am not a maintainer of RN IAP, simply an open-source contributor who used this repo at one point and had it marked as watched. I just double-checked the PR. I do not have access to the repo to merge or block the PRs. As far as I see, the PR is perfectly fine.
Could you kindly accept this review when you think this
PRis good?
Approved on my side. As far as i can see, it looks good to me. Not sure if the comment was towards me or not but i figured a double check would not hurt.🙏
Approved on my side. As far as i can see, it looks good to me. Not sure if the comment was towards me or not but i figured a double check would not hurt.🙏
Thank you for taking an interest and reviewing this PR. Based on your involvement, I kindly request that you complete the review for this PR!