Facebook v11.0.0 Release Notes
-
๐ ATTENTION: The Platform SDK v11.0 release introduces a few key changes to how dependencies will be managed moving forward. These changes are being implemented to drive more efficiency in our development process and reduce an over-reliance on singletons and tight coupling.. As part of these changes, we are currently in the process of converting existing types to use injected dependencies. As a result, many types will no longer be usable until the SDK is initialized. In order to ensure that types are configured correctly before being used, you will need to call
FBSDKApplicationDelegate.application:didFinishLaunchingWithOptions:
first before attempting to (i) get or set any properties, or (ii) invoke any methods on the SDK.โก๏ธ The source code has been updated to include reminders in the form of exceptions in
DEBUG
builds across several locations. These reminders will serve as pointers for Developers to callFBSDKApplicationDelegate.application:didFinishLaunchingWithOptions:
before using the SDK. For more information see: https://github.com/facebook/facebook-ios-sdk/issues/1763.โ Added
- Login with Facebook iOS app now populates a shared
AuthenticationToken
instance. - Added Limited Login support for
user_hometown
,user_location
,user_gender
anduser_link
permissions under public beta. - โก๏ธ Updated Profile on Limited Login to include first, middle and last name as separate fields.
- Released
user_messenger_contact
permission to enable Login Connect with Messenger. This new feature allows people to opt in to being contacted by a business on Messenger following the FB Login flow. - Added ability to add
messenger_page_id
param toFBSDKLoginButton
andFBSDKLoginConfiguration
- โ Added
FBSDKApplicationObserving
- a protocol for describing types that can optional respond to lifecycle events propagated byApplicationDelegate
- โ Added
addObserver:
andremoveObserver:
toFBSDKApplicationDelegate
- โ Added
startWithCompletion:
toFBSDKGraphRequest
. ReplacesstartWithCompletionHandler:
- โ Added
addRequest:completion
toFBSDKGraphRequestConnection
. ReplacesaddRequest:completionHandler:
. - โ Added
addRequest:name:completion:
toFBSDKGraphRequestConnection
. ReplacesaddRequest:batchEntryName:completionHandler:
. - โ Added
addRequest:parameters:completion:
toFBSDKGraphRequestConnection
. ReplacesaddRequest:batchParameters:completionHandler:
. - โ Added instance method
activateApp
toAppEvents
.
๐ Deprecated
FBSDKGraphRequestBlock
. Replaced byFBSDKGraphRequestCompletion
which returns an abstractFBSDKGraphRequestConnection
in the formid<FBSDKGraphRequestConnecting>
(ObjC) orGraphRequestConnecting
(Swift)FBSDKGraphRequest
'sstartWithCompletionHandler:
replaced bystartWithCompletion:
FBSDKGraphRequestConnection
'saddRequest:completionHandler:
replaced byaddRequest:completion:
FBSDKGraphRequestConnection
'saddRequest:batchEntryName:completionHandler:
replaced byaddRequest:name:completion:
FBSDKGraphRequestConnection
'saddRequest:batchParameters:completionHandler:
replaced byaddRequest:parameters:completion:
FBSDKGraphRequestBlock
- Class method
AppEvents.activateApp
. It is replaced by an instance method of the same name.
โ Removed
FBSDKApplicationDelegate.initializeSDK:launchOptions:
. The replacement method isFBSDKApplicationDelegate.application:didFinishLaunchingWithOptions:
- โก๏ธ
FBSDKAppEvents
'updateUserProperties:handler:
method. - โก๏ธ
FBSDKAppEvents
'supdateUserProperties:handler:
method. FBSDKAppLinkReturnToRefererControllerDelegate
FBSDKAppLinkReturnToRefererController
FBSDKIncludeStatusBarInSize
FBSDKAppLinkReturnToRefererViewDelegate
FBAppLinkReturnToRefererView
FBSDKErrorRecoveryAttempting
'sattemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:friendIDs:birthday:ageRange:isLimited:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:friendIDs:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:friendIDs:birthday:ageRange:
FBSDKAccessTokensBlock
- โ
FBSDKTestUsersManager
FBSDKGraphErrorRecoveryProcessor
'sdelegate
propertyFBSDKGraphErrorRecoveryProcessor
'sdidPresentErrorWithRecovery:contextInfo:
FBSDKGamingVideoUploader
'suploadVideoWithConfiguration:andCompletionHandler:
FBSDKGamingImageUploader
'suploadImageWithConfiguration:andCompletionHandler:
๐ 2021-06-01 | Full Changelog
- Login with Facebook iOS app now populates a shared