{ "id": "160391", "key": "TIMOB-23424", "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": "17706", "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-05-26T22:23:23.000+0000", "created": "2016-05-20T12:51:26.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "facebook", "module", "parity" ], "versions": [], "issuelinks": [ { "id": "51786", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154921", "key": "MOD-2200", "fields": { "summary": "iOS: Support Facebook App Invites", "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": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-07-26T23:45:10.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" } ], "description": "I submitted a ticket previously to have app invites supported on the facebook module. The ticket has been complete and closed (MOD-2200, although i can no longer see this ticket), however the functionality was only added to the iOS module not the Android module.\r\n\r\nWe have a cross platform app and need this on both platforms before I can push out to our users.\r\n\r\nI have attempted to add this functionality myself but unfortunately I'm not up to speed enough on module development.\r\n\r\nAny help would be much appreciated!", "attachment": [], "flagged": false, "summary": "Android: Support Facebook App Invites", "creator": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "environment": null, "closedSprints": [ { "id": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "386399", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~martz256],\r\n\r\nThanks for creating the ticket. Our engineering team will look into it. This need to be cleared by our selection committee. Please understand that the processes is time-consuming and lots of variables in play. We will let you know if and when we will be including this feature in our platform.\r\n\r\nRegards", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-22T04:50:42.000+0000", "updated": "2016-05-22T04:50:42.000+0000" }, { "id": "386429", "author": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "body": "Thanks @nsalahin,\r\n\r\nI think that the frustration here is that it was accepted the first time around but for some reason the Android version was not completed. Anything that you can do to help would be much appreciated.\r\n\r\nMartyn", "updateAuthor": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-23T08:04:51.000+0000", "updated": "2016-05-23T08:04:51.000+0000" }, { "id": "386436", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey Martyn,\r\n\r\nblame me for the completion of the module. I did the iOS part as part of another PR to provide something working quickly for you. But as you also know, I don't work in the Android field, so we either need to wait until someone from the Android team has time resources for this feature, or await a community PR which we can review and merge. Since all dialogs are quite the same, it should be possible to do that.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-23T13:21:18.000+0000", "updated": "2016-05-23T13:21:18.000+0000" }, { "id": "386445", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Android PR (work in progress): https://github.com/appcelerator-modules/ti.facebook/pull/53\r\n\r\n[~msamah] Can you try building the module and check it out? Or give me your build.properties to try it myself. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-23T13:55:28.000+0000", "updated": "2016-05-23T13:55:28.000+0000" }, { "id": "386681", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hans, I'm assuming you're looking for something like this? \r\n{code}\r\ntitanium.sdk=/Library/Application\\ Support/Titanium/\r\ntitanium.os=osx\r\ntitanium.version= 5.2.2.GA\r\nandroid.sdk=/Users/usrname/android-sdks\r\n\r\ntitanium.platform=${titanium.sdk}/mobilesdk/${titanium.os}/${titanium.version}/android\r\nandroid.platform=${android.sdk}/platforms/android-8\r\ngoogle.apis=${android.sdk}/add-ons/google_apis-8\r\n{code}\r\n\r\nJust rename build.properties.example to build.properties and modify the paths. Also make sure your NDK path is set up properly in .bash_profile", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-24T21:08:13.000+0000", "updated": "2016-05-24T21:10:20.000+0000" }, { "id": "386889", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Packaged module: https://www.dropbox.com/s/oeqx35pwz7cpndb/facebook-android-5.2.0.zip?dl=0\r\n\r\nDemo code:\r\n{code:javascript}\r\n\r\nvar fb = require('facebook');\r\nfb.initialize();\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\nTi.Platform.osname == \"android\" && win.fbProxy = fb.createActivityWorker({lifecycleContainer: win});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: \"Invite people\"\r\n});\r\n\r\nfb.addEventListener(\"inviteCompleted\", function(e) {\r\n alert(e);\r\n});\r\n\r\nbtn.addEventListener(\"click\", function() { \r\n fb.presentInviteDialog({\r\n appLink: \"https://fb.me/868269279951930\",\r\n appPreviewImageLink: \"http://abload.de/img/defaultvzusy.jpg\"\r\n });\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-26T09:57:38.000+0000", "updated": "2016-05-26T22:19:31.000+0000" }, { "id": "391583", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the addition of Facebook app invites.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.7.0.201607111053\r\nTi SDK : 5.4.0.v20160725003348\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.1\r\nMAC El Capitan : 10.11.5\r\nAppc NPM : 4.2.8-1\r\nAppc CLI : 5.4.0-34\r\nNode: 4.4.4\r\nNexus 5 - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-26T23:44:55.000+0000", "updated": "2016-07-26T23:44:55.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }