NOTICE 1: This article is old and is applicable on our Facebook ANE lower than V4.11.0. If you are using FB ANE V4.11.0 or higher, just go with the normal setup explained here https://github.com/myflashlab/facebook-ANE
iOS 9 SDK update has some issues with the Facebook SDK. How to handle this? That’s what we want to talk about in this post. When compiling the Adobe Air Facebook SDK with latest Air SDK 20.x.x on iOS, you might notice that the ANE is using Safari to let you do different features like login, share or invite. This is actually happening because of the recent iOS 9 changes on how to handle canOpenURL. And considering that Air SDK 20.x.x is using iOS 9 SDK to compile your Air app, we are facing the same problem too. You can find more information about this here on apple: https://developer.apple.com/videos/wwdc/2015/?id=703
To make sure your game/app is still opening the official Facebook SDK to login your users you should either use older versions of Air SDK or whitelist Facebook app in your plist Air manifest .xml file. We totally recommend to you to use the latter solution and below is how you can whitelist the Facebook app access from your own app.
Adobe Air Facebook SDK opens in safari problem in iOS 9
iOS 9 SDK issue with the Adobe Air Facebook SDK
NOTICE 1: This article is old and is applicable on our Facebook ANE lower than V4.11.0. If you are using FB ANE V4.11.0 or higher, just go with the normal setup explained here https://github.com/myflashlab/facebook-ANE
NOTICE 2: Facebook has officially dropped support for fast-app-switching feature on iOS apps built with newer FB SDKs. https://developers.facebook.com/blog/post/2015/10/29/Facebook-Login-iOS9/
iOS 9 SDK update has some issues with the Facebook SDK. How to handle this? That’s what we want to talk about in this post. When compiling the Adobe Air Facebook SDK with latest Air SDK 20.x.x on iOS, you might notice that the ANE is using Safari to let you do different features like login, share or invite. This is actually happening because of the recent iOS 9 changes on how to handle
canOpenURL
. And considering that Air SDK 20.x.x is using iOS 9 SDK to compile your Air app, we are facing the same problem too. You can find more information about this here on apple: https://developer.apple.com/videos/wwdc/2015/?id=703To make sure your game/app is still opening the official Facebook SDK to login your users you should either use older versions of Air SDK or whitelist Facebook app in your plist Air manifest .xml file. We totally recommend to you to use the latter solution and below is how you can whitelist the Facebook app access from your own app.
Simply add the following to your manifest: you may also check the complete settings of your manifest .xml file here https://github.com/myflashlab/facebook-ANE/#air-xml-manifest
Share this:
Related