Open saqlain455 opened 2 years ago
this package is not compatible with expo, try expo-notifications
Clean your node modules and remove react-native-push-notification/ios
package. You can eject your expo project to bare workflow using expo eject
command. After that install package and follow guide.
You can actually have an expo managed build by doing the following
{
...
"ios": {
"infoPlist": {
...
"UIBackgroundModes": ["remote-notification", ...]
}
}
This is a helpful article on how to create a custom plugin
Invariant Violation: Native module cannot be null. how I can solve this issue