AdguardForiOS icon indicating copy to clipboard operation
AdguardForiOS copied to clipboard

Shorten the way to the system DNS settings for Native DNS implementation

Open MoienBowen opened this issue 3 years ago • 3 comments

Problem Description

Currently, once we turn on/off the AdGuard DNS, there is a pop-up with the path of DNS setting.

Proposed Solution

For iOS 15, the url scheme is:

  • Launch from Widget: prefs:root=General&path=ManagedConfigurationList/DNS
  • Launch from App: App-prefs:root=General&path=ManagedConfigurationList/DNS (please let me know if there is a deeper url for DNS page)

For iOS 10(?) ~ iOS 14:

  • Prefs:root=VPN/DNS
  • App-prefs:root=VPN/DNS

For iOS 10 (?) and earlier:

  • Prefs:root=General&path=Network/VPN

Reference:

  • https://www.macstories.net/ios/a-comprehensive-guide-to-all-120-settings-urls-supported-by-ios-and-ipados-13-1/
  • https://github.com/phynet/iOS-URL-Schemes

MoienBowen avatar Sep 22 '21 07:09 MoienBowen

@n00d1e5 Hi! Do you mean transition from our widget to DNS settings of the application?

Birbber avatar Sep 23 '21 12:09 Birbber

@n00d1e5 Hi! Do you mean transition from our widget to DNS settings of the application?

No... Actually, if I turn the switch (for DNS) on from your widget, it will jump to AdGuard application. Then, there is a pop-up message saying that we need to open system settings and turn the "real DNS switch" on. The user has to find the system switch step by step...

You can use the system URL scheme to replace your complicated instructions. With one click (from widget or in the app), it can directly open the system setting page.


And, please, add URL scheme for your own app to. See issue #1700. Once your own URL schemes are added, I can remove your current outdated "Today Widget" (which is not current Widget standard), and add an 1*1 icon to turn it on and off.

MoienBowen avatar Sep 23 '21 12:09 MoienBowen

@n00d1e5 Our developers will take a look at this. Thanks for your report.

Birbber avatar Sep 23 '21 13:09 Birbber