nativescript-community / perms

An unified permissions API for NativeScript on iOS and Android.
https://nativescript-community.github.io/perms/
Apache License 2.0
12 stars 9 forks source link

iOS: openSettings doesn't work #29

Open sivo1981 opened 9 hours ago

sivo1981 commented 9 hours ago

Function openSettings doesn't work on iOS 18. Any ideas?

I have also tried with this code but no success

          const settingsUrl = NSURL.URLWithString(UIApplicationOpenSettingsURLString)
          if (UIApplication.sharedApplication.canOpenURL(settingsUrl)) {
            UIApplication.sharedApplication.openURL(settingsUrl)
          } else {
            console.error('Unable to open settings URL.')
          }