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 nameshared
) to start moving away from a class-based interface. FacebookGamingServices
andFBSDKGamingServicesKit
— There are two libraries related to Gaming Services.FBSDKGamingServicesKit
is a superset ofFacebookGamingServices
that includes Objective-C wrapper classes forFBSDKContextDialogPresenter
andFBSDKContextDialogPresenter
. If you don't need an Objective-C interface for these types, we recommend that you use onlyFacebookGamingServices
.- ๐ 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 includegraphDomain
|—| |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 theAppEvents.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 fromGamingPayloadDelegate.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