react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

[question]: App stopped due to OneSignal?.Notifications?.requestPermission(true);

Open abdulmateentechbits opened this issue 1 year ago • 2 comments

How can we help?

The app crashes on Android mobile devices with version 8 or lower. However, on versions above 8, it is working properly. This issue causes the app to stop when I uncomment the following line:

// OneSignal?.Notifications?.requestPermission(true);

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

abdulmateentechbits avatar Jan 09 '24 14:01 abdulmateentechbits

If the user enables notifications, it works, if the user disables the notification the app crashes. I tried out with version 5.0.2, 5.0.3 and 5.0.4. It's urgent

samu-gataca avatar Jan 10 '24 14:01 samu-gataca

up

TierryBr avatar Feb 09 '24 01:02 TierryBr