diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 5dbf2dbf..4f2d7865 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -1,19 +1,14 @@ import UIKit -import Flutter -import flutter_secure_storage -@main +import Flutter + +@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) - - // Configurar o Keychain para remover dados quando o app for desinstalado - let secureStorage = FlutterSecureStoragePlugin() - secureStorage.setAccessibility(.whenPasscodeSetThisDeviceOnly) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) } } \ No newline at end of file