{
"id": "171621",
"key": "TIMOB-26016",
"fields": {
"issuetype": {
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"name": "New Feature",
"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": [
{
"id": "20115",
"name": "Release 7.3.0",
"archived": false,
"released": true,
"releaseDate": "2018-08-17"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2018-05-19T13:46:40.000+0000",
"created": "2018-05-06T04:49:59.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [
"demo_app",
"geolocation"
],
"versions": [
{
"id": "20102",
"name": "Release 7.1.1",
"archived": false,
"released": true,
"releaseDate": "2018-05-02"
}
],
"issuelinks": [],
"assignee": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"updated": "2018-06-21T17:51:42.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": [
{
"id": "10206",
"name": "iOS",
"description": "iOS Platform"
}
],
"description": "Is this flag showsBackgroundLocationIndicator in Ti.Geolocation available?",
"attachment": [
{
"id": "65150",
"filename": "Bildschirmfoto 2018-05-09 um 17.00.24.png",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2018-05-10T07:43:03.000+0000",
"size": 1072683,
"mimeType": "image/png"
},
{
"id": "65280",
"filename": "Screen Shot 2018-06-21 at 18.47.59.png",
"author": {
"name": "smohammed",
"key": "smohammed",
"displayName": "Samir Mohammed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-06-21T17:50:28.000+0000",
"size": 1526873,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "iOS 11: Expose \"showsBackgroundLocationIndicator\" property on Ti.Geolocation",
"creator": {
"name": "efrancis",
"key": "efrancis",
"displayName": "Emmanuel Francis",
"active": true,
"timeZone": "Asia/Kolkata"
},
"subtasks": [],
"reporter": {
"name": "efrancis",
"key": "efrancis",
"displayName": "Emmanuel Francis",
"active": true,
"timeZone": "Asia/Kolkata"
},
"environment": null,
"comment": {
"comments": [
{
"id": "437412",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "Currently not, but it should be easy to implement for iOS 11+. Not sure if Android has something related that could be used for parity.",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2018-05-06T07:56:17.000+0000",
"updated": "2018-05-06T07:56:17.000+0000"
},
{
"id": "437416",
"author": {
"name": "efrancis",
"key": "efrancis",
"displayName": "Emmanuel Francis",
"active": true,
"timeZone": "Asia/Kolkata"
},
"body": "Hyperloop helped for now\r\nvar CLLocationManager = require('CoreLocation/CLLocationManager');\r\nCLLocationManager.showsBackgroundLocationIndicator = true/false;",
"updateAuthor": {
"name": "efrancis",
"key": "efrancis",
"displayName": "Emmanuel Francis",
"active": true,
"timeZone": "Asia/Kolkata"
},
"created": "2018-05-06T16:11:34.000+0000",
"updated": "2018-05-06T16:11:34.000+0000"
},
{
"id": "437518",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10034\r\n\r\nTest-case:\r\n{code:js}\r\n/*\r\n\r\nRequired plist entries:\r\n\r\n\tUIBackgroundModes\r\n\t\r\n\t\tlocation\r\n \r\n \r\n \r\n NSLocationAlwaysAndWhenInUseUsageDescription\r\n Can we access your location?\r\n \r\n \r\n\tNSLocationAlwaysUsageDescription\r\n\tCan we always access your location\r\n \r\n \r\n NSLocationWhenInUseUsageDescription\r\n\tCan we access your location when using the app?\r\n\r\n*/\r\n\r\nTi.Geolocation.showBackgroundLocationIndicator = true;\r\n\r\nTi.Geolocation.addEventListener('location', function(e) {\r\n Ti.API.info(e);\r\n})\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Start location updates'\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n if (!Ti.Geolocation.hasLocationPermissions(Ti.Geolocation.AUTHORIZATION_ALWAYS)) {\r\n Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_ALWAYS, function (e) {\r\n if (!e.success) {\r\n Ti.API.error('Permissions denied!');\r\n return;\r\n } else {\r\n updatePosition();\r\n }\r\n });\r\n } else {\r\n updatePosition();\r\n }\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n\r\nfunction updatePosition() {\r\n Ti.Geolocation.getCurrentPosition(function (e) {\r\n Ti.API.info(e);\r\n });\r\n}\r\n{code}",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2018-05-09T15:14:28.000+0000",
"updated": "2018-05-09T15:14:28.000+0000"
},
{
"id": "438602",
"author": {
"name": "smohammed",
"key": "smohammed",
"displayName": "Samir Mohammed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "*Closing ticket*. New feature can be seen in SDK Version: {{7.3.0.v20180618182516}}\r\n\r\n*FR (Passed) Test Steps:*\r\n# Created an application using the code above\r\n# Ran the program\r\n# Accepted all required permissions \r\n# Pressed {{Start Location Updates}}\r\n# Minimised the application \r\n# Able to see {{showsBackgroundLocationIndicator}}\r\n !Screen Shot 2018-06-21 at 18.47.59.png|thumbnail! \r\n\r\n*Test Environment*\r\n{code:java}\r\nAPPC Studio: 5.0.0.201712081732\r\nAPPC CLI: 7.0.4\r\niphone 6 11.2 emulator\r\nOperating System Name: Mac OS High Sierra\r\nOperating System Version: 10.13\r\nNode.js Version: 8.9.1\r\nXcode 9.2\r\n{code}\r\n",
"updateAuthor": {
"name": "smohammed",
"key": "smohammed",
"displayName": "Samir Mohammed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-06-21T17:51:29.000+0000",
"updated": "2018-06-21T17:51:29.000+0000"
}
],
"maxResults": 4,
"total": 4,
"startAt": 0
}
}
}