Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native open iOS App Notifications setting

enter image description here

I am able to open the above screen with Linking.openURL('app-settings:').

Is there a way to go a layer deeper and open the Notifications setting instead (see below)?

I have searched for some answers and tried Linking.openURL('app-settings:2'), Linking.openURL('app-settings:{2}') and Linking.openURL('app-settings:NOTIFICATIONS') without luck.

enter image description here

like image 368
Roy Wang Avatar asked Mar 01 '18 03:03

Roy Wang


1 Answers

Linking.openURL('App-Prefs:NOTIFICATIONS_ID&path=<bundle_id>')

works for me. iOS 14.7.1

like image 133
Olena Havrilyuk Avatar answered Oct 02 '22 21:10

Olena Havrilyuk