guyromb / cordova-open-native-settings

Plugin to open native screens of iOS/android settings (maintained, end-2020)
http://gsrweb.net
MIT License
113 stars 107 forks source link

Notification setting (notification_id) not working for iOS #44

Open flivni opened 5 years ago

flivni commented 5 years ago

I'm using openNativeSettings.open('notification_id') to open the notification settings page for my app.

This works on Android but doesn't work for on iOS. I'm running

I took a look at the source code and read https://github.com/guyromb/Cordova-open-native-settings/issues/21.

It seems to me that for this to work on iOS we need to append &path=APP_BUNDLE_ID to the url. But I don't see this is happening in the source code.

Thanks for the help!

fuyucn commented 5 years ago

its not work for no reason. I use "application_details" to work around this, and works fine.

a-ridley commented 3 years ago

@fuyucn @flivni Using "application_details" will only take you to the apps general settings. There is 1 more tap required to reach the apps notification settings. Did you settle with only reach the apps general settings?

I also noticed some apps are getting binary rejections from apple due to using 'prefs:root' or 'App-Prefs:root'. Although this plugin doesn't necessarily use either of those with the word root it does use 'App-Prefs:' for the prefix. I am not familiar with objective-c but I am concerned that root can be appended to that prefix consequently causing apps to run the risk of getting rejected.

Sampath-Lokuge commented 3 years ago

Yes, this is still not working with iOS 14.7.1 too. But application_details at least move into the particular app's content rather than a generic/all app content view.