{ "id": "147727", "key": "TIMOB-18906", "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": [], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2015-07-01T05:31:24.000+0000", "created": "2015-05-12T07:40:05.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "facebook", "sdk-4.0.0RC3" ], "versions": [], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-03-16T22:54:21.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": "The first problem is that documentation say that is not necessary to do login flow before the use of presentWebShareDialog, but if i don't do that the app crash with the stack error: 'session cannot be null' in android log cat.\r\nThe second problem occurs when i try to use presentWebShareDialog after login: the facebook share popup seems to not get the passed params: link, name, caption, picture and description\r\n!Screenshot_fb.png|thumbnail!\r\n\r\n", "attachment": [ { "id": "55360", "filename": "example.crash.js", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-13T07:09:29.000+0000", "size": 1713, "mimeType": "application/x-javascript" }, { "id": "55361", "filename": "example.voidshare.js", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-13T07:09:22.000+0000", "size": 2037, "mimeType": "application/x-javascript" }, { "id": "55323", "filename": "Screenshot_fb.png", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-12T07:30:08.000+0000", "size": 70049, "mimeType": "image/png" } ], "flagged": false, "summary": "Facebook: Problems in 'presentWebShareDialog'", "creator": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium sdk 4.0.0RC3 on Android (not tried on ios yet)", "closedSprints": [ { "id": 429, "state": "closed", "name": "2015 Sprint 13 SDK", "startDate": "2015-06-23T05:39:59.141Z", "endDate": "2015-07-04T00:30:00.000Z", "completeDate": "2015-07-07T04:59:44.220Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "352267", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~norx85] can you please attach a test case?\r\n\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-05-12T14:25:51.000+0000", "updated": "2015-05-12T14:25:51.000+0000" }, { "id": "352406", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "body": "I attached two simple example apps of the two cases", "updateAuthor": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-13T07:10:00.000+0000", "updated": "2015-05-13T07:13:46.000+0000" }, { "id": "352407", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "body": "To reproduce the problem you need to not have facebook app installed on the device", "updateAuthor": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-13T07:13:20.000+0000", "updated": "2015-05-13T07:13:20.000+0000" }, { "id": "354650", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "body": "Any news on this bug? \r\nThe issue remains in sdk 4.0.0GA but now it's also impossible to share after login flow. I need a fix on this or i can't publish my app.\r\nThanks", "updateAuthor": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-06-09T06:56:30.000+0000", "updated": "2015-06-09T06:56:30.000+0000" }, { "id": "355112", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "Have you tried the 4.0.4+ version of the Facebook module?\r\n\r\nAnd have you changed the way the facebook app is set up in tiapp.xml ? Also provided the right info on the Facebook Developer app settings page?\r\n\r\nI had to update to this version to get everything working after the Facebook API changes. https://github.com/appcelerator-modules/ti.facebook (I had to build it locally myself for it to work, for some reason though)\r\n\r\nIt's also a good point you made, that the documentation should explain a bit better how the different login flows work when/if you have the FB app installed (on iOS or Android). (or also connected in the main phone settings.) \r\n", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-15T09:57:04.000+0000", "updated": "2015-06-15T09:57:04.000+0000" }, { "id": "355186", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~norx85] Hi there. -I tried your code and everything seems to be working.- I used the 4.0.5 version of the Facebook module. You can get it here: https://github.com/appcelerator-modules/ti.facebook/releases\r\n\r\n-Let me know if this works for you.-\r\n\r\nNew note:- I managed to get the bug for the first case. The second case seems to be okay.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-06-16T08:07:50.000+0000", "updated": "2015-06-16T08:15:35.000+0000" }, { "id": "355187", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~kosso] You had to locally build the module? Is the module not working correctly from the release page?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-06-16T08:09:03.000+0000", "updated": "2015-06-16T08:09:10.000+0000" }, { "id": "355192", "author": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok i'll give a try to this version", "updateAuthor": { "name": "norx85", "key": "norx85", "displayName": "Giulio De Giorgio", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-06-16T08:37:53.000+0000", "updated": "2015-06-16T08:37:53.000+0000" }, { "id": "355197", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2015-06-16T10:13:21.000+0000", "updated": "2015-06-16T10:13:21.000+0000" }, { "id": "356200", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "For the first problem, login flow is required and in this case, the documentation is wrong. I've done this PR https://github.com/appcelerator-modules/ti.facebook/pull/24 to reflect that.\r\n\r\nFor the second issue, the 4.0.5 version of the Facebook module handles that and solves that problem. You can get it here: https://github.com/appcelerator-modules/ti.facebook/releases\r\n\r\nIf nothing else is required, I think I can resolve this ticket with respect to the original problems of this ticket.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-06-29T06:22:22.000+0000", "updated": "2015-06-29T06:22:22.000+0000" }, { "id": "356498", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Resolving this as done.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-01T05:31:24.000+0000", "updated": "2015-07-01T05:31:24.000+0000" }, { "id": "413438", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as done.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:54:21.000+0000", "updated": "2017-03-16T22:54:21.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }