freshplanet / ANE-Facebook

Air Native Extension (iOS and Android) for the Facebook mobile SDK
Apache License 2.0
221 stars 123 forks source link

APPLICATION_TURNED_OFF error with iOS 7.1 #129

Closed neuronix closed 7 years ago

neuronix commented 10 years ago

Hi,

I keep getting the APPLICATION_TURNED_OFF error when trying to login with iOS 7.1. Works fine on iOS 6.

Anybody had the same problem?

eric-holmes commented 10 years ago

Have you checked your Facebook settings in Settings > Facebook, to ensure your app has permission?

neuronix commented 10 years ago

Hi ewholmes, thanks, that was the issue. I upgraded from ios6 to ios7 and it had blocked the app during the process.

Elegarret commented 10 years ago

I have the same problem, and thank you @ewholmes for sharing where to dig. But is it possible to automatically turn on my app in the Settings > Facebook? It is definetely bad idea to ask end-user to go to the Settings and give my app corresponding permission.

eric-holmes commented 10 years ago

On First launch of the App, in theory it should ask permission. When I've done re-builds onto devices and cleared app data on build, the popup usually appears. If you don't have permission, yes, you should probably give the user an alert saying "Hey, we don't have access to your Facebook app. Give us permissions here!" type thing. Some people may change their minds later.