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

[iOS] Navigate to "main setting page" only #153

Closed
heedongrichrich opened this issue Sep 24, 2022 · 4 comments
Closed

[iOS] Navigate to "main setting page" only #153

heedongrichrich opened this issue Sep 24, 2022 · 4 comments

Comments

@heedongrichrich
Copy link

I just used example code to test navigation.

It works but the problem is that every button is navigated to only main-setting page..

Do I have to set anything else?

@thiagocarvalhodev
Copy link

I'm having the same issue. Doesn't matter which function I call, always it goes to the app settings.

For example:

if (Platform.isAndroid || forceOpenDeviceSettingsOnIOS) {
    await AppSettings.openNotificationSettings();
    return;
  }

@plinkos
Copy link
Collaborator

plinkos commented Oct 11, 2022

Apple doesn't allow navigation to specific settings pages. There is only support for implementation of a setting like Notifications (you need to handle this on your own in native side with permissions and settings). Once those settings are implemented and user is prompted to allow then those settings will become available in the App Settings main page.

@plinkos
Copy link
Collaborator

plinkos commented Oct 18, 2022

Feel free to Fork and test in your own branch. Here are all the private APIs ... However, Apple will most likely reject your app. Not sure how Google is doing what they are doing or getting away with using private APIs. If Apple approves your app we can create a new separate iOS open settings feature for calling the private APIs at your own risk.

prefs:root=General&path=About
prefs:root=General&path=ACCESSIBILITY
prefs:root=AIRPLANE_MODE
prefs:root=General&path=AUTOLOCK
prefs:root=General&path=USAGE/CELLULAR_USAGE
prefs:root=Brightness
prefs:root=General&path=Bluetooth
prefs:root=General&path=DATE_AND_TIME
prefs:root=FACETIME
prefs:root=General
prefs:root=General&path=Keyboard
prefs:root=General&path=INTERNATIONAL
prefs:root=LOCATION_SERVICES
prefs:root=ACCOUNT_SETTINGS
prefs:root=MUSIC
prefs:root=General&path=Network
prefs:root=NIKE_PLUS_IPOD
prefs:root=NOTES
prefs:root=NOTIFICATIONS_ID
prefs:root=Phone
prefs:root=Photos
prefs:root=Sounds&path=Ringtone
prefs:root=Safari
prefs:root=General&path=Assistant
prefs:root=Sounds
prefs:root=General&path=USAGE
prefs:root=VIDEO
prefs:root=General&path=Network/VPN
prefs:root=Wallpaper
prefs:root=WIFI
prefs:root=INTERNET_TETHERING

@plinkos
Copy link
Collaborator

plinkos commented Oct 18, 2022

Let me know how it goes.

@plinkos plinkos closed this as completed Jan 7, 2023
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

3 participants