Facebook v12.2.0 Release Notes

  • ⬆️ Note: There is a known issue with using the ObjC linker flag with this version. We are working on a patch fix. If you rely on the ObjC linker flag, you will want to wait for the patch fix before upgrading.

    ⚡️ Updated

    • 🗄 Starting with v12.2.0 apps no longer need to embed numerous custom URL schemes in LSApplicationQueriesSchemes for their Info.plist. Only the fbapi and fb-messenger-share-api custom URL schemes are needed. With the change to iOS 15 that limits LSApplicationQueriesSchemes to 50 schemes, this should relieve some pressure that apps may face when running up against this limit. As part of this change the following symbols are deprecated:
      • URLScheme.facebookApp
      • URLScheme.facebookShareExtension
      • URLScheme.masqueradePlayer

    🛠 Fixed

    • 🛠 Fixed NSKeyedUnarchiver validateAllowedClass Warnings in Xcode Console. Fixes #1941 and #1930
    • An implementation bug in ApplicationDelegate where added application observers were notified twice for application:didFinishLaunchingWithOptions:. The return type of ApplicationDelegate.application:didFinishLaunchingWithOptions: was also incorrectly stated as, "YES if the url was intended for the Facebook SDK, NO if not". In actuality, the method returns whether there are any application observers that themselves return true from calling their implementation of application:didFinishLaunchingWithOptions:. This fix means that application observers will now only be notified once per app launch, however, if ApplicationDelegate.application:didFinishLaunchingWithOptions: is called after calling ApplicationDelegate.initializeSDK then the return type will always be false regardless of any application observers.
    • 🔊 Using share dialogs via share sheet mode fails to show the dialog (Issue #1938)
    • Fixed: aem_conversion_configs should contain an explicit "fields" parameter (Issue #1933)

    🗄 Deprecated

    • 🗄 The class-based interface of AppEvents has been deprecated. Please use the instance properties and methods on AppEvents.shared instead.

    🚀 2021-12-01 | Full Changelog