Making Sure the Facebook SDK Works with iOS 9

Marketing & Promotion
Posted 9/16/2015 10:01:01 AM by RICHARD HARRIS, Executive Editor

Making Sure the Facebook SDK Works with iOS 9
Developers whose apps built using the Facebook SDK for iOS will need to update to the final version, v4.6 and v3.24, of the SDK. Specifically apps that use Facebook Login, App Events , Analytics for Apps, Sharing across Facebook and Messenger, App Invites, App Links, or Native Like should be updated.

The new SDKs include the following:

- Compatibility with Xcode 7 and iOS 9

- Support for App Thinning by including bitcode. If bitcode was previously disabled, it can now be enabled with the new SDK

- Logic that automatically defaults people to the optimum experience for iOS 9. This means that the SDK dialogs for Facebook Login, Sharing across Facebook and Messenger, App Invites, App Events, or Native Like will automatically determine the best experience for people based on their device.

A recent blog post by Facebook instructs the following process to preserve app functionality and help ensure the best possible experience for people who use an iOS 9 app:

1- Download the new SDK for iOS: v4.6 or v3.24

2 - The iOS 9 rollout introduces a new feature called App Transport Security (ATS) which will require you to whitelist Facebook domains in your app's plist. If you don't do this, you will see security errors in the log when your app tries to call the Facebook API or show Login, Share, and other user experiences. Please follow the instructions in the upgrade guide.

3 - Update your app's plist to handle the changes to canOpenURL so that your app can open dialogs in the Facebook app (for Login, share, invite friends, or native Likes).

Facebook has updated its guide to include information about Upgrading to iOS 9. Refer to the link below to get the full details.

Read More


About the author: RICHARD HARRIS, Executive Editor

As the Publisher and Editor for App Developer Magazine, Richard has several industry recognitions and endorsements from tech companies such as Microsoft, Apple and Google for accomplishments in the mobile market. He was part of the early Google AFMA program, and also involved in the foundation of Google TV. He has been developing for mobile since 2003 and serves as CEO of Moonbeam Development, a mobile app company with 200 published titles in various markets throughout the world. Richard is also the founder of LunarAds, a mobile cross-promotion and self-serv mediation network for developers. He has been a featured presenter at trade-shows and conferences, and stays active with new projects relating to mobile development.

Subscribe to App Developer Daily

Latest headlines delivered to you daily.