{ "id": "159623", "key": "MOD-2244", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17723", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-25T16:33:04.000+0000", "created": "2016-04-17T12:17:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.4.0", "ti.facebook" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-07-26T18:57:14.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": "14521", "name": "Facebook" } ], "description": "There is a community PR supporting the \"logPurchase\" method on Android. We should grab that great contribution, add iOS support and make it available.", "attachment": [ { "id": "59920", "filename": "logPurchase.png", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-26T18:56:50.000+0000", "size": 51554, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS / Android: Support \"logPurchase\" in Ti.Facebook", "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, "comment": { "comments": [ { "id": "382904", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (including the community PR and added example, iOS implementation, docs and readme): \r\nhttps://github.com/appcelerator-modules/ti.facebook/pull/49\r\n\r\nDemo:\r\n{code:javascript}\r\nvar fb = require(\"facebook\");\r\nfb.initialize();\r\nfb.logPurchase(13.37, \"EUR\");\r\n{code}\r\n\r\nExpected behavior: The application does not crash and a purchase is logged in the Developer Analytics dashboard (might be delayed like when logging events).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-17T12:55:23.000+0000", "updated": "2016-07-26T16:48:50.000+0000" }, { "id": "391540", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, {{logPurchase}} is now supported for iOS / Android platform. Events can be seen on the Developer Analytics Dashboard on the Facebook Developer website _(See Screenshot)_\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device\r\nNexus 6P (6.0.1) Device\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160725003348\r\nAppc Studio: 4.7.0.201607111053\r\nAppc NPM: 4.2.7\t\r\nApp CLI: 5.4.0-34\r\nXcode 7.3\r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-26T18:56:13.000+0000", "updated": "2016-07-26T18:56:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }