DailyView/Carthage/Checkouts/facebook-ios-sdk/FBAEMKit/FBAEMKit/AEMSettings.swift
2025-12-30 16:40:31 +08:00

27 lines
652 B
Swift

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
import Foundation
enum AEMSettings {
static func appID() -> String? {
// swiftformat:disable:next redundantSelf
self.bundle?.object(forInfoDictionaryKey: "FacebookAppID") as? String
}
}
extension AEMSettings: DependentAsType {
struct TypeDependencies {
var bundle: Bundle
}
static var configuredDependencies: TypeDependencies?
static var defaultDependencies: TypeDependencies? = TypeDependencies(bundle: .main)
}