Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification setting (notification_id) not working for iOS #44

Open
flivni opened this issue Mar 21, 2019 · 3 comments
Open

Notification setting (notification_id) not working for iOS #44

flivni opened this issue Mar 21, 2019 · 3 comments

Comments

@flivni
Copy link

flivni commented Mar 21, 2019

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

  • iOS 12.1.4.
  • cordova-open-native-settings 1.5.2

I took a look at the source code and read #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
Copy link

fuyucn commented Apr 11, 2019

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

@a-ridley
Copy link

a-ridley commented Aug 7, 2021

@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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants