invertase / react-native-notifee

Moved to https://github.com/invertase/notifee
https://invertase.io/blog/open-sourcing-notifee
Other
465 stars 31 forks source link

Error: Notifee native module not found. #375

Closed AyoubMoustahfid closed 3 years ago

AyoubMoustahfid commented 3 years ago

I installed the package, but when I want to run the application it shows me this problem "" Error: Notifee native module not found. "", please give me a solution to this problem

image

mikehardy commented 3 years ago

Hi there! You have not installed the package correctly / completely. This is a common issue with react-native native modules (like Notifee) and not really a notifee bug, it's a problem with your process. You have not included any version information or platform so I'm not certain what the solution is and will close this as lacking information, but it probably involves remembering to do pod install

Here's an example script that shows the complete integration steps required along with a few extras (all with comments) in case it helps

https://github.com/mikehardy/rnfbdemo/blob/master/notifee-demo.sh

AyoubMoustahfid commented 3 years ago

Hi there! I used these steps but same problem [image: image.png]

helenaford commented 3 years ago

@AyoubMoustahfid notifee does not work for expo apps that aren't ejected, unfortunately. Hope that helps

AyoubMoustahfid commented 3 years ago

Ok, thanks for the clarification.

Le mar. 31 août 2021 à 16:38, Helena Ford @.***> a écrit :

@AyoubMoustahfid https://github.com/AyoubMoustahfid notifee does not work for expo apps that aren't ejected, unfortunately. Hope that helps

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/notifee/react-native-notifee/issues/375#issuecomment-909351226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJNXQYNKQZTNQGNXBEWZ4TT7TZQHANCNFSM5DEJSAGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

helenaford commented 3 years ago

no problem, sorry for the inconvenience. I'm looking at how we can add a note somewhere in the docs.

AyoubMoustahfid commented 3 years ago

No problem, thanks!

Le mar. 31 août 2021 à 17:11, Helena Ford @.***> a écrit :

no problem, sorry for the inconvenience. I'm looking at how we can add a note somewhere in the docs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/notifee/react-native-notifee/issues/375#issuecomment-909378437, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJNXQ3ZG5XXWLOLJMO7I6DT7T5MFANCNFSM5DEJSAGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

AyoubMoustahfid commented 3 years ago

Hello Will the package be suitable for expo ??

Le mar. 31 août 2021 à 17:13, Ayoub Moustahfid @.***> a écrit :

No problem, thanks!

Le mar. 31 août 2021 à 17:11, Helena Ford @.***> a écrit :

no problem, sorry for the inconvenience. I'm looking at how we can add a note somewhere in the docs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/notifee/react-native-notifee/issues/375#issuecomment-909378437, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJNXQ3ZG5XXWLOLJMO7I6DT7T5MFANCNFSM5DEJSAGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mikehardy commented 3 years ago

We've seen the config plugins effort and a community member contributed an implementation of same for react-native-firebase (also an Invertase effort) so it's possible, but you're the first and only to ask, so it hasn't been a priority so far. Perhaps with react-native-firebase having that capability it makes more sense at this point, since they work together. Not sure how you would handle the notification service extension, which is pretty important though. It may never be truly practical.

AyoubMoustahfid commented 3 years ago

Ok thanks you

Le jeu. 2 sept. 2021 à 14:43, Mike Hardy @.***> a écrit :

We've seen the config plugins effort and a community member contributed an implementation of same for react-native-firebase (also an Invertase effort) so it's possible, but you're the first and only to ask, so it hasn't been a priority so far. Perhaps with react-native-firebase having that capability it makes more sense at this point, since they work together. Not sure how you would handle the notification service extension, which is pretty important though. It may never be truly practical.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/notifee/react-native-notifee/issues/375#issuecomment-911699461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJNXQ7OBF2ESUU4KYIVPNTT755RTANCNFSM5DEJSAGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

AyoubMoustahfid commented 3 years ago

Hello Is the package programmed to expo cli

Le jeu. 2 sept. 2021 à 14:52, Ayoub Moustahfid @.***> a écrit :

Ok thanks you

Le jeu. 2 sept. 2021 à 14:43, Mike Hardy @.***> a écrit :

We've seen the config plugins effort and a community member contributed an implementation of same for react-native-firebase (also an Invertase effort) so it's possible, but you're the first and only to ask, so it hasn't been a priority so far. Perhaps with react-native-firebase having that capability it makes more sense at this point, since they work together. Not sure how you would handle the notification service extension, which is pretty important though. It may never be truly practical.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/notifee/react-native-notifee/issues/375#issuecomment-911699461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJNXQ7OBF2ESUU4KYIVPNTT755RTANCNFSM5DEJSAGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mikehardy commented 3 years ago

No it is not configured to use expo in any way, I believe you must eject from expo to use it.