{ "id": "174263", "key": "TIMOB-27475", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2019-11-14T22:21:10.000+0000", "created": "2019-10-16T20:15:55.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "issuelinks": [], "assignee": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-11-14T22:21:10.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "After running following code:\r\n{code}Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE,function(e){\r\nTi.API.info(\"RESPONSE = \"+ JSON.stringify(e));\r\n}); \r\n{code}\r\nI am getting following response:\r\n{code}\r\n[INFO] RESPONSE = {\"code\":1,\"error\":\"The requested permissions do not match the selected permission (the user likely declined AUTHORIZATION_ALWAYS permissions) in iOS 11+\",\"success\":false,\"authorizationStatus\":3}\r\n{code}\r\nAfter checking which permission was granted it appears that Ti.Geolocation.AUTHORIZATION_ALWAYS was granted instead of Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE. This needs to be fixed.\r\n\r\n*Test environment*: SDK- 8.2.0.GA\r\nAppcelerator Command-Line Interface, version 7.1.1\r\nReproducible device: iPhone SE and iPhone 5C on IOS 10.3.3\r\n\r\nI have tested on following device but cannot reproduce it:\r\niPhone 6+ (iOS 12.4.2) and iPod 5S(9.3.3)\r\n\r\n*Note*: We have no iPhone SE and iPhone 5C devices available, so we failed to check this on those devices. ", "attachment": [ { "id": "67094", "filename": "Screenshot 2019-10-29 at 16.41.57.png", "author": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-29T17:29:20.000+0000", "size": 47109, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Map permission is not correct on specific iOS devices", "creator": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK- 8.2.0.GA\r\nAppcelerator Command-Line Interface, version 7.1.1\r\nReproducible device: iPhone SE and iPhone 5C on IOS 10.3.3", "comment": { "comments": [ { "id": "452333", "author": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce this bug. Also observed another issue in regard to the permission failing to pop up when app is reinstalled (without uninstalling app first) and launched on 3 of the devices i.e. iOS versions 12.4, 11.0.3 and 11.4 but popped up as expected for iOS 13.0 device. See attached console message after failing to pop up. !Screenshot 2019-10-29 at 16.41.57.png|thumbnail! \r\n\r\n*Test Environment:*\r\nSDK Ver: 8.2.0.GA and 8.3.0.v20191028152746\r\nXcode Ver: Xcode 11.1\r\nAppc NPM: 4.2.15\r\nAppc CLI: 7.1.1\r\nTi CLI Ver: 5.2.1\r\nNode Ver: 10.16.3\r\nNPM Ver: 6.9.0\r\n\r\n*Devices tested on:*\r\niOS versions: 12.4, 11.0.3, 11.4 and 13.0\r\n", "updateAuthor": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-29T17:30:29.000+0000", "updated": "2019-10-29T17:30:29.000+0000" }, { "id": "452359", "author": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ahutton] When I delete it and install a new one the permission shows as expected. It only doesn't show when app is already installed on device and reinstalled without deletion. I observed this issue on 3 of the devices with iOS versions: 12.4, 11.0.3 and 11.4 but not on 13.0", "updateAuthor": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-30T09:07:22.000+0000", "updated": "2019-10-30T09:12:20.000+0000" }, { "id": "452397", "author": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ahutton] Okay. I get it.", "updateAuthor": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-31T09:03:37.000+0000", "updated": "2019-10-31T09:03:37.000+0000" }, { "id": "452699", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing per support comments.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-14T22:21:10.000+0000", "updated": "2019-11-14T22:21:10.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }