{
"id": "153863",
"key": "TIMOB-20149",
"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": [
{
"id": "17072",
"name": "Release 5.1.2",
"archived": false,
"released": true,
"releaseDate": "2016-01-12"
}
],
"resolution": {
"id": "3",
"description": "The problem is a duplicate of an existing issue.",
"name": "Duplicate"
},
"resolutiondate": "2015-12-16T02:06:32.000+0000",
"created": "2015-12-15T22:16:01.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [
"ios",
"location"
],
"versions": [
{
"id": "17532",
"name": "Release 5.1.1",
"archived": false,
"released": true,
"releaseDate": "2015-11-24"
}
],
"issuelinks": [
{
"id": "50124",
"type": {
"id": "10002",
"name": "Duplicate",
"inward": "is duplicated by",
"outward": "duplicates"
},
"outwardIssue": {
"id": "153233",
"key": "TIMOB-20002",
"fields": {
"summary": "iOS: Ti.Geolocation.requestLocationPermissions is not always called?",
"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"
}
},
"priority": {
"name": "High",
"id": "2"
},
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
}
}
}
}
],
"assignee": {
"name": "cng",
"key": "cng",
"displayName": "Chee Kiat Ng",
"active": false,
"timeZone": "America/Los_Angeles"
},
"updated": "2015-12-17T18:26:09.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": "h6. Issue Description\r\nThe requestLocationPermissions function callback is not working.\r\n{code}\r\nTi.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE\r\n{code}\r\n\r\nh6. Expected behavior\r\nThe user should receive an alert with the response callback info. \r\n\r\n\r\nh6. Steps to reproduce\r\n# Create a new Alloy Project\r\n# Open the tiapp.xml file and add the next lines inside ios>plist>dict\r\n{code}\r\n\t\tNSLocationWhenInUseUsageDescription\r\n Testing Location in use \r\n{code}\r\n# Open app>controllers>index.js and add the next lines at the bottom: \r\n{code}\r\nTi.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE, function(resp){\r\n\talert(JSON.stringify(resp));\r\n});\r\n{code}\r\n# Run the app. \r\n",
"attachment": [],
"flagged": false,
"summary": "iOS Ti.Geolocation.requestLocationPermissions callback is not working",
"creator": {
"name": "rramirez",
"key": "rramirez",
"displayName": " Ricardo Ramirez",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "rramirez",
"key": "rramirez",
"displayName": " Ricardo Ramirez",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "iOS simulator 9.2\r\niOS device 9.1\r\nxcode 7 \r\nTitanium SDK 5.1.1GA",
"comment": {
"comments": [
{
"id": "373071",
"author": {
"name": "cng",
"key": "cng",
"displayName": "Chee Kiat Ng",
"active": false,
"timeZone": "America/Los_Angeles"
},
"updateAuthor": {
"name": "cng",
"key": "cng",
"displayName": "Chee Kiat Ng",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2015-12-16T02:05:43.000+0000",
"updated": "2015-12-16T02:05:43.000+0000"
},
{
"id": "373231",
"author": {
"name": "ewieber",
"key": "ewieber",
"displayName": "Eric Wieber",
"active": false,
"timeZone": "America/Los_Angeles"
},
"body": "Closing as duplicate",
"updateAuthor": {
"name": "ewieber",
"key": "ewieber",
"displayName": "Eric Wieber",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2015-12-17T18:26:09.000+0000",
"updated": "2015-12-17T18:26:09.000+0000"
}
],
"maxResults": 2,
"total": 2,
"startAt": 0
}
}
}