phonegap/phonegap-facebook-plugin — pull request #393 by wfvandyk (2014-01-06 22:15:01+00:00)
Title: iOS CDV callback on user cancel during login - added CDV callback to switch branch

When user cancels native auth/approval dialog on iOS no result is passed back to JS context (specifically Facebook-js-sdk.js line 5117 case permissions.oauth ERROR CB never called). Added ERROR callback on native side in state switch for FBSessionStateClosedLoginFailed and error is now passed back to JS. P.S Thanks for the absolutely awesome piece of work on this library - opens up a world of possibilities!