{ "id": "133213", "key": "TIMOB-17333", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-03T22:26:31.000+0000", "created": "2014-07-15T20:56:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "hudder", "ios8", "look1" ], "versions": [], "issuelinks": [ { "id": "39847", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "134643", "key": "TIDOC-1837", "fields": { "summary": "iOS 8 HealthKit", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-08-06T17:49:35.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": "Expose the iOS8 APIs for the Health Kit feature", "attachment": [], "flagged": false, "summary": "iOS8: Health Kit API Support", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 787, "state": "closed", "name": "2017 Sprint 01 SDK", "startDate": "2016-12-31T02:15:33.446Z", "endDate": "2017-01-14T02:15:00.000Z", "completeDate": "2017-01-15T00:00:19.006Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "327018", "author": { "name": "mattsilv", "key": "mattsilv", "displayName": "Matt Silverman", "active": true, "timeZone": "America/New_York" }, "body": "Any ETA on this?", "updateAuthor": { "name": "mattsilv", "key": "mattsilv", "displayName": "Matt Silverman", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-06T15:02:21.000+0000", "updated": "2014-10-06T15:02:21.000+0000" }, { "id": "327035", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It is on our roadmap, but no current ETA.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-06T17:33:26.000+0000", "updated": "2014-10-06T17:33:26.000+0000" }, { "id": "327041", "author": { "name": "mattsilv", "key": "mattsilv", "displayName": "Matt Silverman", "active": true, "timeZone": "America/New_York" }, "body": "Thanks for the reply Ingo. I know this is a long shot, but if our goal is simply to post calories to a user's food log on HealthKit, is there any workaround do a simple task like that before you have the full blown HealthKit integration ready? If you are not sure, then no worries at all. ", "updateAuthor": { "name": "mattsilv", "key": "mattsilv", "displayName": "Matt Silverman", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-06T18:07:36.000+0000", "updated": "2014-10-06T18:07:36.000+0000" }, { "id": "342380", "author": { "name": "foodfacts", "key": "foodfacts", "displayName": "Food Facts", "active": true, "timeZone": "America/Havana" }, "body": "Is Titanium going to support Health Kit? Last message I see here was posted back in October and iOS 8 has been out for some time now. We are into February 2015 now. Are we going to have support in the API to write code against this?\r\n\r\nThis has been an unfortunate miss as it is hard to extend into Health Kit unless programming directly in Xcode.\r\n\r\n", "updateAuthor": { "name": "foodfacts", "key": "foodfacts", "displayName": "Food Facts", "active": true, "timeZone": "America/Havana" }, "created": "2015-02-06T08:18:25.000+0000", "updated": "2015-02-06T08:18:25.000+0000" }, { "id": "342382", "author": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "body": "+1 [~foodfacts]", "updateAuthor": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "created": "2015-02-06T08:22:52.000+0000", "updated": "2015-02-06T08:22:52.000+0000" }, { "id": "351084", "author": { "name": "crossbits", "key": "crossbits", "displayName": "Danny Pham", "active": true, "timeZone": "Europe/Berlin" }, "body": "Might be interesting if you can't wait for official implementation:\r\n\r\n[https://github.com/olofmagnusson/healthkit-titanium-module|https://github.com/olofmagnusson/healthkit-titanium-module]", "updateAuthor": { "name": "crossbits", "key": "crossbits", "displayName": "Danny Pham", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-04-29T01:41:09.000+0000", "updated": "2015-04-29T01:41:09.000+0000" }, { "id": "355212", "author": { "name": "Davide", "key": "davide", "displayName": "Davide Fiocchi", "active": true, "timeZone": "Europe/Rome" }, "body": "Hi,\r\nMy company would like to know if this feature will be implemented in the future and when.\r\nCould you please give us this information? Thank you", "updateAuthor": { "name": "Davide", "key": "davide", "displayName": "Davide Fiocchi", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-06-16T15:00:54.000+0000", "updated": "2015-06-16T15:00:54.000+0000" }, { "id": "355216", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The above mentioned module (https://github.com/olofmagnusson/healthkit-titanium-module) covers the API pretty good, did you give it a try?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-06-16T15:07:21.000+0000", "updated": "2015-06-16T15:07:21.000+0000" }, { "id": "355217", "author": { "name": "Davide", "key": "davide", "displayName": "Davide Fiocchi", "active": true, "timeZone": "Europe/Rome" }, "body": "No, I didn't yet. I gave a brief look, it seems good but we are interested in the official implementation. \r\nThank you anyway for your suggestion", "updateAuthor": { "name": "Davide", "key": "davide", "displayName": "Davide Fiocchi", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-06-16T15:18:01.000+0000", "updated": "2015-06-16T15:18:01.000+0000" }, { "id": "355273", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "I've tried integrating the mentioned Healthkit module but get: \r\n\r\n[ERROR] 2015-06-16 22:05:19.534 xcodebuild[78206:462443] DeveloperPortal: Using pre-existing current store at URL (file:///Users/ketan/Library/Developer/Xcode/DeveloperPortal%206.3.1.db).\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] Ld build/testApp.build/Debug-iphonesimulator/testApp-universal.build/Objects-normal/x86_64/testApp normal x86_64\r\n[ERROR] Ld build/testApp.build/Debug-iphonesimulator/testApp-universal.build/Objects-normal/i386/testApp normal i386\r\n[ERROR] (2 failures)\r\n\r\nIt seems that the module was built against 3.4.1 - I've tried rebuilding it against 4.0.0 - and am not getting any joy. Has anyone got it working/building against 3.5.1.GA or 4.0.0.GA ?", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-16T21:59:36.000+0000", "updated": "2015-06-16T21:59:36.000+0000" }, { "id": "355317", "author": { "name": "Davide", "key": "davide", "displayName": "Davide Fiocchi", "active": true, "timeZone": "Europe/Rome" }, "body": "Are you trying on simulator? I've just tried with a device and it worked (building against 3.5.1.GA).", "updateAuthor": { "name": "Davide", "key": "davide", "displayName": "Davide Fiocchi", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-06-17T06:48:44.000+0000", "updated": "2015-06-17T06:48:44.000+0000" }, { "id": "355319", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "Yeah, trying on the simulator. I've managed to build it against the device directly (if I deploy from XCode, this was with building against Ti SDK 4.0.0.GA) I've not tested much with it yet, but enough to get the auth screen showing.\r\n\r\nAs the sim has the Health app, i'm wondering if the module needs some updating to support it. Also you need to manually add entitlement file via XCode too, not tried to build without it.\r\n\r\nAt least i'm unblocked and can do some dev with the use of this, but relying on device deployment only is a bit of a bottleneck, grateful that the module exists though.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-17T07:08:32.000+0000", "updated": "2015-06-17T07:08:32.000+0000" }, { "id": "356875", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "why would a module work on the device and not the simulator, what setting in Xcode would effect this? Not being able to debug this code is a major problem.", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2015-07-03T07:13:14.000+0000", "updated": "2015-07-03T07:13:14.000+0000" }, { "id": "357438", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "there is a work around.\r\n\r\nadd healthkit capabilities to the titananium iphone project in the relevant sdk using xcode\r\n\r\namend the _build.js file so it copies across the [yourapp].entitlements file as part of the build process\r\n\r\nI have got this module running successfully in debug on a simuulator for 3.4.1 and 4.0.0 SDKs", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2015-07-10T07:42:06.000+0000", "updated": "2015-07-10T07:42:06.000+0000" }, { "id": "357439", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "You can add the capabilities via {{tiapp.xml}}:\r\n\r\n{code:xml}\r\n\r\n\r\n \r\n \r\n \r\n UIRequiredDeviceCapabilities\r\n \r\n healthkit\r\n \r\n...\r\n{code}\r\n\r\nYou can put your custom {{Entitlements.plist}} file in your project root and as from Ti 4.0.0.GA it will be used instead of generating one by Titanium.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-10T07:54:17.000+0000", "updated": "2015-07-10T07:54:58.000+0000" }, { "id": "357440", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "but you still need a ['yourapp'].entitlements file present for your app to compile", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2015-07-10T07:56:23.000+0000", "updated": "2015-07-10T07:56:23.000+0000" }, { "id": "357441", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Are you 100% sure? See https://community.appcelerator.com/topic/1596/apple-healthkit-integration/11", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-10T07:59:33.000+0000", "updated": "2015-07-10T07:59:33.000+0000" }, { "id": "357442", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "well it's the only way I could get it to compile, if you look at the files that are created by xocde when you add the healthkit capability one of them is [yourapp].entitlements, this is additional to the entitlements.plist.", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2015-07-10T08:02:14.000+0000", "updated": "2015-07-10T08:02:14.000+0000" }, { "id": "357443", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "in fact if you look at the comment I posted at https://community.appcelerator.com/topic/1596/apple-healthkit-integration/11 .....(in fact it was me that raised it)\r\n\r\n...I'm using the 3.4.1 SDK so I can use Ti-Inspector. It appeared that the Entitlements.plist and the .entitlements files were not copied to the build directory for the simulator.\r\n\r\nOnce I added lines to copy these 2 files it started working.\r\n\r\nAre you running a clean before building? and are you debugging in the simulator? which SDK are you using?\r\n\r\n...you can see there are 2 files required", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2015-07-10T08:04:04.000+0000", "updated": "2015-07-10T08:04:04.000+0000" }, { "id": "357444", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "but in 4.0.0 the plist file is handled by titanium, however the custom entitlements file is not", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2015-07-10T08:04:57.000+0000", "updated": "2015-07-10T08:04:57.000+0000" }, { "id": "357445", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "As of 4.0.0.GA it should use the custom entitlements.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-10T08:20:30.000+0000", "updated": "2015-07-10T08:20:30.000+0000" }, { "id": "364127", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "Any movement on official support for this yet? I see there is a beta module in the appcelerator labs section.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2015-09-16T22:38:30.000+0000", "updated": "2015-09-16T22:38:30.000+0000" }, { "id": "377117", "author": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "body": "+1", "updateAuthor": { "name": "nunocostapt", "key": "nunocostapt", "displayName": "Nuno Costa", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-02-17T17:07:27.000+0000", "updated": "2016-02-17T17:07:27.000+0000" }, { "id": "404038", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving this issue, since our developers can use the HealthKit module from [our Labs|http://labs.appcelerator.com/]. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-03T22:26:31.000+0000", "updated": "2017-01-03T22:26:31.000+0000" }, { "id": "433503", "author": { "name": "yankovalera@gmail.com", "key": "yankovalera@gmail.com", "displayName": "Yanko Valera", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, the labs URL is not opening anymore.\r\n\r\nCould you please pointing in the right direction for integrating HealthKit?\r\n\r\nRegards", "updateAuthor": { "name": "yankovalera@gmail.com", "key": "yankovalera@gmail.com", "displayName": "Yanko Valera", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-23T10:00:29.000+0000", "updated": "2018-01-23T10:00:29.000+0000" }, { "id": "440234", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:35.000+0000", "updated": "2018-08-06T17:49:35.000+0000" } ], "maxResults": 31, "total": 31, "startAt": 0 } } }