guyromb / cordova-open-native-settings

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

in iOS ,it is always redirecting to my application in settings. #32

Closed ravneet24 closed 5 years ago

ravneet24 commented 6 years ago

In android it is working fine.I want to open iTunes and Appstore page in settings.As mentioned in the plugin we need to give "store" parameter in open function of this plugin.we are using this in our ionic project with this( [https://ionicframework.com/docs/native/open-native-settings/]).It is always redirecting to yobeactive applications in settings and not to any specific page. This is the method we have written for this.

this.openNativeSettings.open("store")
      .then(res => {
        console.log("\n\n res: ", res);
      })
      .catch(err => {
        console.log("\n\n Err: ", err);
      });
hannibaldinski commented 6 years ago

Noticed the same. Running iOS 11.4.1

lfx539 commented 6 years ago

Noticed the same.Running iOS 11.3.1

ravneet24 commented 6 years ago

yes I am also running on iOS 11.3.1

allisonmachado commented 6 years ago

Noticed the same. Running on iOS 11.4.1

Renathesco commented 6 years ago

Noticed the same. Running on iOS 11.4.1

nikosgram commented 6 years ago

Noticed the same, Running on iOS 11.3 (15E5216a)

TheVictorHugo commented 6 years ago

Noticed the same, Running on iOS 11.4

guyromb commented 6 years ago

Does anyone have a solution? Please create a pull request.

israelor6 commented 6 years ago

Notice the same, Running on iOS 11.4.1

LennonSantos commented 6 years ago

Noticed the same. Running iOS 11.4.1

braulio-evangelisti commented 6 years ago

found out that if switch back to App-Prefs prefix for iOS 11.3 and 11.4 at least it opens the General settings page, (instead the apps settings page). It's not what i wanted but it seems that for now it isn't any workaround.

guyromb commented 6 years ago

@braulio-evangelisti maybe it's better than nothing. Can do a check for iOS version and route everything to this one. Can you create a pull request for that?

krystiangw commented 5 years ago

@guyromb I see this is already merged https://github.com/guyromb/Cordova-open-native-settings/pull/34

Any chance to bump up plugin version with those changes? So it can be update through npm too.

TemRhythm commented 5 years ago

Still opens general settings...

braulio-evangelisti commented 5 years ago

Yes @TemRhythm, this change is not supposed to be a fix but a switch back from open App > Settings to open General settings for iOS 11.3 and 11.4. In my case, I want to open Location settings but the way it was always opened my apps settings so the user needed to go two steps back and enter locations settings and enable it. This way been redirected to general settings it saves the user one step. It's not what I was looking for but as @guyromb said, maybe is better than nothing until someone figures out a solution.

guyromb commented 5 years ago

I updated the version @krystiangw

TemRhythm commented 5 years ago

@guyromb still not working https://youtu.be/KAAym_5KAFY 😢

pserna95 commented 5 years ago

Any updates on this?

guyromb commented 5 years ago

Please read the expected behaviour. There is no fix due to fault of Apple. At least it allows to open the general settings.

There will be no fix unless Apple changes it again, or anyone comes with a work around / idea how to implement it natively.