From e37a12d9c146315312a642ac6e929d55e8c0ef45 Mon Sep 17 00:00:00 2001 From: Sam Odom Date: Wed, 26 Oct 2022 08:53:52 -0700 Subject: [PATCH] Configure the shared settings instance before anything else Summary: When configuring the shared app events instance before configuring settings, the settings app ID is nil because its info dictionary provider isn't configured yet. This change makes sure that settings is configured before all other types since so many components rely on it. Reviewed By: jawwad Differential Revision: D40694989 fbshipit-source-id: 620b50a58358ad09c4fc7829ec372bf3b82d3e6b --- .../Internal/Configuration/CoreKitConfigurator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FBSDKCoreKit/FBSDKCoreKit/Internal/Configuration/CoreKitConfigurator.swift b/FBSDKCoreKit/FBSDKCoreKit/Internal/Configuration/CoreKitConfigurator.swift index b7602cb472..9971422398 100644 --- a/FBSDKCoreKit/FBSDKCoreKit/Internal/Configuration/CoreKitConfigurator.swift +++ b/FBSDKCoreKit/FBSDKCoreKit/Internal/Configuration/CoreKitConfigurator.swift @@ -19,6 +19,7 @@ final class CoreKitConfigurator: CoreKitConfiguring { } func performConfiguration() { + configureSettings() configureAccessToken() configureAppEvents() configureAppEventsConfigurationManager() @@ -34,7 +35,6 @@ final class CoreKitConfigurator: CoreKitConfiguring { configureInstrumentManager() configureInternalUtility() configureServerConfigurationManager() - configureSettings() configureCloudBridge() #if !os(tvOS)