Last month, Facebook announced a new iOS SDK in beta to help developers prepare for Apple’s iOS 9, which launches on September 16. On Thursday, Facebook announced the release of the final version of v4.6 and v3.24 of this SDK.
Any developers who use Facebook Login, App Events, Analytics for Apps, Sharing across Facebook and Messenger, App Invites, App Links or Native Like will have to take the necessary steps.
The new SDK includes compatibility with Xcode 7 and iOS 9 as well as support for App Thinning by including bitcode. It also includes logic that automatically defaults people to the best experience for iOS 9 so SDK dialogs for Facebook Login, Sharing across Facebook and Messenger, App Invites, App Events, and Native Like will automatically determine the optimal experience for their device.
Facebook lays out the steps in order to stay up to date:
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 described here, 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 info about upgrading to iOS 9. You can find that here. the SDK changelog is here.
Apple announced at a press event on Wednesday that Facebook Messenger will now support Apple Watch and that Facebook will support Apple’s new Live Photos feature.
Image via Facebook