riwu/react-native-open-notification

Fatal Exception: android.content.ActivityNotFoundException on Android 4

Closed this issue · 1 comments

When trying to open Notification Settings on Android 4, my application crashes with the following exception:

Fatal Exception: android.content.ActivityNotFoundException
No Activity found to handle Intent { act=android.settings.APP_NOTIFICATION_SETTINGS (has extras) }
riwu commented

v0.1.1 is only compatible with Android 5.0 and above.
Just added compatibility for Android 4.0 in 2f3c2f4, update react-native-open-notification to v0.1.2 in your project to fix the crash.

Thanks for the report!