fix build ios
This commit is contained in:
parent
5031565ec9
commit
178289c616
|
@ -1,19 +1,14 @@
|
||||||
import UIKit
|
import UIKit
|
||||||
import Flutter
|
|
||||||
import flutter_secure_storage
|
|
||||||
|
|
||||||
@main
|
import Flutter
|
||||||
|
|
||||||
|
@UIApplicationMain
|
||||||
@objc class AppDelegate: FlutterAppDelegate {
|
@objc class AppDelegate: FlutterAppDelegate {
|
||||||
override func application(
|
override func application(
|
||||||
_ application: UIApplication,
|
_ application: UIApplication,
|
||||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||||||
) -> Bool {
|
) -> Bool {
|
||||||
GeneratedPluginRegistrant.register(with: self)
|
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)
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue