Wizcorp / phonegap-facebook-plugin

The official plugin for Facebook in Apache Cordova/PhoneGap
Other
1.9k stars 2.01k forks source link

Default error message - Cordova Facebook Connect Plugin for iOS #475

Open datomnurdin opened 10 years ago

datomnurdin commented 10 years ago

I'm using cordova facebook connect plugin for user authentication into my app. My problem is, I still don't know how to disable default error message if user cancel the login or share to facebook.

http://i.stack.imgur.com/H8edd.jpg

I already disable all alert message in facebook-js-sdk.js file, but still occurring.

kaansoral commented 10 years ago

It indeed looks very bad, it would be great to override them instead of having to manually disable them

datomnurdin commented 10 years ago

How to override it? Any example?

aogilvie commented 10 years ago

Yeah that is feckin' horrible. screen shot 2014-05-19 at 11 51 19 am

It's in almost every API. Unfortunately, I'm not working with the JS lib, even if I was I'd use the official FB lib... I suggest modifying the above lines in facebook-js-sdk.js and PR it :) Seems like everyone hates this :sunflower: