func application()

in Example/AmazonFreeRTOSDemo/AmazonFreeRTOSDemo/AppDelegate.swift [10:26]


    func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        // FreeRTOS SDK Logging, will switch to AWSDDLog in future releases
        _ = AmazonContext.shared
        AmazonFreeRTOSManager.shared.isDebug = true

        // Override advertising Service UUIDs if needed.
        // AmazonFreeRTOSManager.shared.advertisingServiceUUIDs = []

        // AWS SDK Logging
        // AWSDDLog.sharedInstance.logLevel = .all
        // AWSDDLog.add(AWSDDTTYLogger.sharedInstance)

        // Setup the user sign-in with cognito: https://aws-amplify.github.io/docs/ios/authentication#manual-setup
        AWSServiceManager.default().defaultServiceConfiguration = AWSServiceConfiguration(region: AmazonConstants.AWS.region, credentialsProvider: AWSMobileClient.default())
        return true
    }