{ "id": "161432", "key": "TIMOB-23572", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-21T17:23:28.000+0000", "created": "2016-06-29T04:48:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity", "properties", "tiapp", "userdefaults" ], "versions": [], "issuelinks": [ { "id": "53148", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "164074", "key": "TIMOB-24051", "fields": { "summary": "Windows: Add the ability to remove all Ti.App.Properties at once ", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-10-19T08:53:26.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The user should be able to remove all {{Ti.App.Properties}} at once. On iOS, the method is even (partly) exposed, yet, but not to the public interface. On Android, we need to implement that method completely.", "attachment": [], "flagged": false, "summary": "iOS/Android: Add the ability to remove all Ti.App.Properties at once", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 682, "state": "closed", "name": "2016 Sprint 15 SDK", "startDate": "2016-07-16T00:19:20.819Z", "endDate": "2016-07-30T00:19:00.000Z", "completeDate": "2016-08-01T04:40:11.421Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389367", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8096\r\n\r\nDemo:\r\n{code:javascript}\r\n// Check the initial properties (should only be the iOS ones)\r\nTi.API.warn(Ti.App.Properties.listProperties());\r\n\r\n// Add all possible property-types (bool, int, double, string, object & list)\r\nTi.App.Properties.setBool(\"testBool\", true)\r\nTi.API.warn(Ti.App.Properties.getBool(\"testBool\"));\r\n\r\nTi.App.Properties.setInt(\"testInt\", 1337)\r\nTi.API.warn(Ti.App.Properties.getInt(\"testInt\", 1337));\r\n\r\nTi.App.Properties.setDouble(\"testDouble\", 13.37);\r\nTi.API.warn(Ti.App.Properties.getDouble(\"testDouble\", 13.37));\r\n\r\nTi.App.Properties.setString(\"testString\", \"john_doe\")\r\nTi.API.warn(Ti.App.Properties.getString(\"testString\", \"john_doe\"));\r\n\r\nTi.App.Properties.setObject(\"testObject\", {appc: \"rocks\"})\r\nTi.API.warn(Ti.App.Properties.getObject(\"testObject\", {appc: \"rocks\"}));\r\n\r\nTi.App.Properties.setList(\"testList\", [\"appc\", \"rocks\"])\r\nTi.API.warn(Ti.App.Properties.getList(\"testList\", [\"appc\", \"rocks\"]));\r\n\r\n// Check the properties again. It should now include the keys of the custom properties\r\nTi.API.warn(Ti.App.Properties.listProperties());\r\n\r\n// Remove all custom properties\r\nTi.API.warn(Ti.App.Properties.removeAllProperties());\r\n\r\n// Check the properties a last time. The custom properties should not be included anymore\r\nTi.API.warn(Ti.App.Properties.listProperties());\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-06-29T04:51:42.000+0000", "updated": "2016-06-29T05:24:06.000+0000" }, { "id": "390487", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~apetkov] Please review", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-12T12:56:18.000+0000", "updated": "2016-07-12T12:56:18.000+0000" }, { "id": "393052", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the improvement on IOS & android.\r\n\r\nWorks as expected.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.7.0.201607250649\r\nTi SDK : 6.0.0.v20160811221444\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.1\r\nMAC El Capitan : 10.11.6\r\nAppc NPM : 4.2.7\r\nAppc CLI : 6.0.0-24\r\nNode: 4.4.4\r\nNexus 5 - Android 6.0.1\r\nIphone simulator: Iphone 6s (9.3)\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-12T21:43:24.000+0000", "updated": "2016-08-12T21:43:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }