Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9329] Android: Facebook dialog cancel button throws success alert

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-08-13T18:36:01.000+0000
Affected Version/sRelease 2.0.1
Fix Version/s2013 Sprint 09 API, 2013 Sprint 09, Release 3.2.0
ComponentsAndroid
Labelsapi, module_android, qe-manualtest, titanbeta, triage
ReporterKetan Majmudar
AssigneePing Wang
Created2012-04-13T14:45:53.000+0000
Updated2014-08-13T18:36:01.000+0000

Description

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.

Attachments

FileDateSize
device-2012-05-26-025835.png2012-05-25T19:01:02.000+000044790
device-2012-05-26-025901.png2012-05-25T19:01:02.000+000070381

Comments

  1. Nikhil Sharma 2012-04-30

    Could you please provide me a sample code?
  2. Nikhil Sharma 2012-05-08

    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
  3. Nikhil Sharma 2012-05-25

    The Kitchen Sink application example of publish stream for facebook works fine.
  4. Ketan Majmudar 2012-05-25

    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.
  5. Hans Knöchel 2013-04-18

    Still present in Ti SDK 3.1.GA!
  6. Olga Romero 2013-04-19

    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"
  7. Ping Wang 2013-04-24

    PR: https://github.com/appcelerator/titanium_modules/pull/105
  8. Ping Wang 2013-05-06

    PR to update the zip file: https://github.com/appcelerator/titanium_mobile/pull/4230
  9. Lokesh Choudhary 2013-10-23

    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

JSON Source