Facebook v11.1.0 Release Notes
-
โ Added
- Reintroduces
initializeSDK
method toFBSDKApplicationDelegate
๐ Changed
- ๐ Introduced Xcodegen for generating project files. Moving forward, We will now use Xcodegen to generate the project files that are used to build the SDK releases. There should be no impact to SDK users. However, some build settings were restored to Xcode defaults as a result of this change, and output binaries may be affected in unpredictable ways. Contributors to the SDK should run the new, top-level script
generate-projects.sh
to ensure that the project files they are using are the same as those being used in CI and for releases. The next major version will remove the project files from version control. If you experience any of these issues, please open an issue and we will look into it.
๐ Deprecated
- ๐ Building the frameworks using Carthage. Carthage is a dependency manager that typically works by building a third party framework using Xcode schemes shared from a
.xcodeproj
file. We are planning to remove the.xcodeproj
files in the next major release as they will be generated on an as needed basis using Xcodegen. There is a strong likelihood that this change will break several integrations that use Carthage. You will still be able to use Carthage by pulling the pre-built binaries or XCFrameworks directly from the release. If this does not work for your use case, we recommend checking out Swift Package Manager as an alternative. - โก๏ธ FBSDKGamingServicesKit's
GamingServiceResultCompletionHandler
. Replaced byGamingServiceResultCompletion
which passes a dictionary instead of a string for the result. Additionally the following methods have been updated:uploadImageWithConfiguration:andResultCompletionHandler
is replaced byuploadImageWithConfiguration:andResultCompletion
uploadImageWithConfiguration:completionHandler:andProgressHandler
is replaced byuploadImageWithConfiguration:completion:andProgressHandler:
uploadVideoWithConfiguration:completionHandler:andProgressHandler:
is replaced byuploadVideoWithConfiguration:completion:andProgressHandler:
uploadVideoWithConfiguration:andResultCompletionHandler
is replaced byuploadVideoWithConfiguration:andResultCompletion
- ๐ฐ
FBSDKGamingPayloadObserver
'sshared
instance. Going forward a user should create and retain their own instance of a payload observer for as long as they'd like to receive callbacks from its delegate.
๐ Fixed
- ๐ Initializing the SDK in when UIApplication is unavailable #1748
- ๐ Issue caused by
initializeSDK
deprecation #1731
๐ 2021-07-23 | Full Changelog
- Reintroduces