invertase / react-native-notifee

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

await notifee.displayNotification not firing notification on release build #385

Closed siddharthpvi closed 2 years ago

siddharthpvi commented 2 years ago

I am scheduling local notification. It works in when use react-native run-android but when i make android release build at that time local notification is not firing.

I have already spent 2 days and finally decided to raise issue here.

Hope i will get the right answer in quick time.

Thanks

mikehardy commented 2 years ago

Hi there! Can you please include your package.json, and details on your testing environment regarding what device model and Android version is in use for the debug and release tests? You may be able to learn more from using adb logcat also, unfiltered

princefishthrower commented 2 years ago

@mikehardy Same for me. Notifications work fine on the android simulators and on iPhone devices but they do not appear on android devices. I've followed the installation instructions and am using the latest notifee version, 2.0.0.

@siddharthpvi did you find a fix here?

mikehardy commented 2 years ago

I'm going to have to try some more tests, at least for me right now in my dev app environment I'm popping up notifee notifications Screenshot_20210919-160406.jpg

princefishthrower commented 2 years ago

@mikehardy - is this on a real device or a simulator?

mikehardy commented 2 years ago

Real device. OnePlus 6T android 11

helenaford commented 2 years ago

@princefishthrower @siddharthpvi did you set up your license key in the app (https://notifee.app/react-native/docs/license-keys)?

mikehardy commented 2 years ago

Oh sorry for the spam but for the avoidance of doubt it is a full release build

helenaford commented 2 years ago

Could you try the latest release(v3.0.0)?

princefishthrower commented 2 years ago

@mikehardy @helenaford - the cause was likely the licensing issue @helenaford mentioned. For now we are going with an (admittedly less feature) solution with react-native-notifications.

helenaford commented 2 years ago

@princefishthrower thanks for letting us know what the source of the bug was. Will close this.