Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-apple-payment@1.1.1 for the project I'm working on.
to suppress WARN Module ApplePay requires main queue setup since it overridesinitbut doesn't implementrequiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of. warning we need to add requiresMainQueueSetup
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-native-apple-payment@1.1.1
for the project I'm working on.to suppress
WARN Module ApplePay requires main queue setup since it overrides
initbut doesn't implement
requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
warning we need to addrequiresMainQueueSetup
From React native docs [https://reactnative.dev/docs/0.63/native-modules-ios]
Here is the diff that solved my problem: