Facebook v12.0.0 Release Notes

    • ๐Ÿ‘ The minimum supported version of iOS is now 10.0.
    • Formalized the shared instance of AppEvents (given the property name shared) to start moving away from a class-based interface.
    • FacebookGamingServices and FBSDKGamingServicesKit — There are two libraries related to Gaming Services. FBSDKGamingServicesKit is a superset of FacebookGamingServices that includes Objective-C wrapper classes for FBSDKContextDialogPresenter and FBSDKContextDialogPresenter. If you don't need an Objective-C interface for these types, we recommend that you use only FacebookGamingServices.
    • ๐Ÿ‘€ Nullability annotations are added to some types. If you are using Swift (and in some cases Objective-C) and you use a newly annotated type, see the warnings in Xcode for more information.

    The following table contains changes to the iOS SDK in version 12.0.0.

    ๐Ÿšš |Removed or Changed|Version 12.0.0 Replacement or Change| |-|-| |AccessToken convenience initializers that include graphDomain|—| |AccessToken.graphDomain class property.|AccessToken.graphDomain instance property.| |AccessToken.refreshCurrentAccessToken(completionHandler:)|AccessToken.refreshCurrentAccessToken(completion:)| |AppEvents.activateApp class method.|AppEvents.activateApp instance method that you access on the AppEvents.shared instance.| |FBSDKGraphErrorRecoveryProcessor - you can no longer create new instances without using designated initializers.|—| |GamingContext.type|—| ๐Ÿ”ง |GamingImageUploader.uploadImage(configuration:andResultCompletionHandler:)|GamingImageUploader.uploadImage(configuration:andResultCompletion:)| ๐Ÿ”ง |GamingImageUploader.uploadImage(configuration:completionHandler:andProgressHandler:)|GamingImageUploader.uploadImage(configuration:completion:andProgressHandler:)| ๐Ÿ›ฐ |GamingPayload.gameRequestID|You can obtain the game request ID from GamingPayloadDelegate.parsedGameRequestURLContaining(_:gameRequestID:)| ๐Ÿ›ฐ |GamingPayloadDelegate.updatedURLContaining(_:)|GamingPayloadDelegate.parsedGameRequestURLContaining(_:gameRequestID:)| ๐Ÿ›ฐ |GamingPayloadObserver.shared|You must now create instances of this object by using a delegate.| |GamingServiceResultCompletionHandler|GamingServiceResultCompletion| ๐Ÿ”ง |GamingVideoUploader.uploadVideo(configuration:andResultCompletionHandler:)|GamingVideoUploader.uploadVideo(configuration:andResultCompletion:)| ๐Ÿ”ง |GamingVideoUploader.uploadVideo(configuration:completionHandler:andProgressHandler:)|GamingVideoUploader.uploadVideo(configuration:completion:andProgressHandler:)| |GraphRequest.start(completionHandler:)|GraphRequest.start(completion:)| |GraphRequestBlock|GraphRequestCompletion| |GraphRequestConnection.add(_:completionHandler:)|GraphRequestConnection.add(_:completion:)| |GraphRequestConnection.add(_:batchEntryName:completionHandler:)|GraphRequestConnection.add(_:name:completion:)| |GraphRequestConnection.add(_:batchParameters:completionHandler:)|GraphRequestConnection.add(_:parameters:completion:)|

    ๐Ÿš€ 2021-09-27 | Full Changelog