GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-13T18:36:01.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | 2013 Sprint 09 API, 2013 Sprint 09, Release 3.2.0 |
Components | Android |
Labels | api, module_android, qe-manualtest, titanbeta, triage |
Reporter | Ketan Majmudar |
Assignee | Ping Wang |
Created | 2012-04-13T14:45:53.000+0000 |
Updated | 2014-08-13T18:36:01.000+0000 |
Invoking a simple facebook dialog on android offers you a cancel option in the modal window. If you hit the "Cancel" button, an alert box pops up saying "Success you have posted your message".
This bug existed on iOS, but has been fixed, it looks like it was not updated on android.
Could you please provide me a sample code?
Check the Kitchen Sink example of Publish Stream for Facebook. If you click the cancel button of the facebook dialog, an alert box pops up saying "Success, but no data from FB. I am guessing you cancelled the dialog" Using Ti SDK 2.0.1.GA2 and the latest version of the Kitchen Sink
The Kitchen Sink application example of publish stream for facebook works fine.
After logging in and prior to actually posting to Facebook (these screenshots are in production app) ... if you clcik on the "Cancel" button shown in the top-left corner (not the X) - the following alert shows, which is incorrect. Also, is the example app, also supposed to show an alert saying "Cancelled", while this functions correctly on iOS, Android is not behaving as expected. Just to add that after logging in and checking the Publish to Wall feature (even on iOS) Cancel - is not returning "Cancel" - I think this needs to be looked at carefully.
Still present in Ti SDK 3.1.GA!
The Kitchen Sink to use will be version 3.1.0.GA, which shipped with Studio or can be imported from github https://github.com/appcelerator/kitchensink Tested with Titanium Studio, build: 3.1.0.201304171607 SDK 3.1.0.GA Nexus7 4.2 Nexus4 4.2 Cancel button throws "Success, but no data from FB. I am guessing you cancelled the dialog"
PR: https://github.com/appcelerator/titanium_modules/pull/105
PR to update the zip file: https://github.com/appcelerator/titanium_mobile/pull/4230
Verified the fix now we see alert "cancelled" Closing. Environment: Appcel Studio : 3.2.0.201310230601 Ti SDK : 3.2.0.v20131022171645 Mac OSX : 10.8.5 CLI - 3.2.0 with hash 72f7426b4ee6c2d2883c666d5b7e03906a16012f