You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored and
Juha Linnanen
committed
feat(Linking): add openNotificationSettings()
Add `Linking.openNotificationSettings()` which opens the app's
notification settings screen in the system Settings app.
- iOS: uses `UIApplicationOpenNotificationSettingsURLString` (iOS 15.4+),
falling back to `UIApplicationOpenSettingsURLString` on 15.1-15.3.
- Android: launches `Settings.ACTION_APP_NOTIFICATION_SETTINGS` with
`Settings.EXTRA_APP_PACKAGE` (API 26+), falling back to
`ACTION_APPLICATION_DETAILS_SETTINGS` on API 24-25.
Includes TurboModule spec entries, legacy and generated TS types,
ReactAndroid.api entry, jest-preset mock, RNTester example, a JS
dispatch test and Robolectric tests for the Android module.
Changelog:
[GENERAL] [ADDED] - Add Linking.openNotificationSettings() to open the app's notification settings on iOS (15.4+) and Android (API 26+), falling back to the app settings page on older OS versions
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments