It looks like you're new here. If you want to get involved, click one of these buttons!
facebook:addEventListener(Event.DIALOG_CANCEL, function(e) local text6 = TextField.new(nil, "Event.DIALOG_CANCEL") text6:setPosition(10, 550) stage:addChild(text6) end) |
Comments
If I press android back button, it dispatches cancel event.
If I press cancel button inside dialog, it dispatches 2 complete events
If I press little tiny close x button of the dialog it dispatches 4 cancel events.
everything seems to be fine inside the plugin, which means that Facebook SDK is what misbehaves.
Will probably have to move to newer SDK version, once common interfaces and Google Play plugin will reach somewhat stable version.
Likes: hgvyas123, phongtt
I just retest again and:
- if user clicks "Cancel" button it fires DIALOG_COMPLETE once
- If user clicks close button on the corner DIALOG_CANCEL once
- if user click "Share" button it fires DIALOG_COMPLETE once
The code on DIALOG_COMPLETE is:
Thanks
Likes: thanhquan1512, talis
Ultimate Games on Appstore
Ultimate Games on Google Play
Is this fix also applied to IOS?
Best regards.
http://www.giderosmobile.com/forum/discussion/comment/19993#Comment_19993