react-native-push-notification / ios

React Native Push Notification API for iOS.
MIT License
745 stars 285 forks source link

Support new React Native new architecture (TurboModules/Fabric) #371

Open tom-sherman opened 2 years ago

tom-sherman commented 2 years ago

See https://reactnative.dev/docs/new-architecture-library-intro

https://reactnative.dev/blog/2022/06/16/resources-migrating-your-react-native-library-to-the-new-architecture

Naturalclar commented 2 years ago

Will work on it :+1:

nibblesnbits commented 2 years ago

Do we need to have full support for the new architecture in order to update the dependencies to allow React 18? I can't upgrade to RN 0.69 because I depend on this package and it specifies peer react@">=16.6.3"

tom-sherman commented 2 years ago

You can use React 18 in 0.69 but you cant use concurrent features without enabling the new architecture.

nibblesnbits commented 2 years ago

I did notice, however, that there is an unmaintained lib dependency that also requires older React. :(

phuocantd commented 2 years ago

how to config lib in react native 0.69 when I start app, It auto disconnect metro reload app