{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/231","repository_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/231/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/231/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/231","id":196764226,"number":231,"title":"showLocationSettings() fails to open settings in iOS 10.2","user":{"login":"coderroggie","id":1376024,"avatar_url":"https://avatars.githubusercontent.com/u/1376024?v=3","gravatar_id":"","url":"https://api.github.com/users/coderroggie","html_url":"https://github.com/coderroggie","followers_url":"https://api.github.com/users/coderroggie/followers","following_url":"https://api.github.com/users/coderroggie/following{/other_user}","gists_url":"https://api.github.com/users/coderroggie/gists{/gist_id}","starred_url":"https://api.github.com/users/coderroggie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderroggie/subscriptions","organizations_url":"https://api.github.com/users/coderroggie/orgs","repos_url":"https://api.github.com/users/coderroggie/repos","events_url":"https://api.github.com/users/coderroggie/events{/privacy}","received_events_url":"https://api.github.com/users/coderroggie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-20T19:49:27Z","updated_at":"2016-12-20T20:06:25Z","closed_at":"2016-12-20T20:06:25Z","body":"## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Plugin version: 2.2.5\r\n* Platform: iOS, Android works\r\n* OS version: 10.2\r\n* Device manufacturer and model: Apple iPhone 6s Plus\r\n* Cordova version (`cordova -v`): 6.4.0\r\n* Cordova platform version (`cordova platform ls`):\r\n  android 6.1.0\r\n  ios 4.3.1\r\n* Plugin configuration options: \r\n```\r\nbackgroundGeolocation.configure(postLocationCallback, failureCallback, {\r\n                    desiredAccuracy: 10,\r\n                    stationaryRadius: 20,\r\n                    distanceFilter: 30,\r\n                    interval: 60000\r\n                });\r\n```\r\n* Link to your project:\r\nN/A\r\n\r\n## Context\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\nbackgroundGeolocation.showLocationSettings() does nothing on iOS.\r\nbackgroundGeolocation.showAppSettings() works properly.\r\n\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\nbackgroundGeolocation.showLocationSettings() should open the Settings > Privacy > Location Services Preferences panel, similar to how it opens in Android.\r\n\r\n## Actual Behavior\r\n<!--- Tell us what happens instead -->\r\nNothing.  App Settings are not opened.\r\n\r\n## Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug include code to reproduce, if relevant -->\r\n1.  Open my App. \r\n2.  Hit the following code section in my app.\r\n```\r\nbackgroundGeolocation.isLocationEnabled(function (enabled) {\r\n                    if (enabled) {\r\n                            $log.info('backgroundLocationService: Location is enabled, success with collection.');\r\n                    } else {\r\n                        // Location services are disabled\r\n                        if (window.confirm('Location is disabled. Would you like to open location settings?')) {\r\n                            backgroundGeolocation.showLocationSettings();\r\n                        }\r\n                    }\r\n                });\r\n```\r\n3.  Nothing happens.\r\n4.  Sadness ensues. \r\n\r\n## Context\r\n<!--- How has this bug affected you? What were you trying to accomplish? -->\r\nI've become sad.\r\n\r\n## Debug logs\r\n<!-- Relevant parts from printAndroidLogs or printIosLogs.\r\nMore info in README.md section Debugging.\r\nIf you're reporting app crash also provide output of \"adb logcat\" -->\r\nNone.  There is no output in the iOS logging nor in the console as a result of this call, only undefined."},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/268344668","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/231#issuecomment-268344668","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/231","id":268344668,"user":{"login":"mauron85","id":359450,"avatar_url":"https://avatars.githubusercontent.com/u/359450?v=3","gravatar_id":"","url":"https://api.github.com/users/mauron85","html_url":"https://github.com/mauron85","followers_url":"https://api.github.com/users/mauron85/followers","following_url":"https://api.github.com/users/mauron85/following{/other_user}","gists_url":"https://api.github.com/users/mauron85/gists{/gist_id}","starred_url":"https://api.github.com/users/mauron85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauron85/subscriptions","organizations_url":"https://api.github.com/users/mauron85/orgs","repos_url":"https://api.github.com/users/mauron85/repos","events_url":"https://api.github.com/users/mauron85/events{/privacy}","received_events_url":"https://api.github.com/users/mauron85/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T20:06:25Z","updated_at":"2016-12-20T20:06:25Z","body":"merged. thank you"}}
{"actor":{"display_login":"mauron85"}}