fix not in ios
This commit is contained in:
parent
339d3ab725
commit
580be6d713
|
@ -1,6 +1,6 @@
|
|||
import UIKit
|
||||
|
||||
import Flutter
|
||||
import flutter_secure_storage
|
||||
|
||||
@main
|
||||
@objc class AppDelegate: FlutterAppDelegate {
|
||||
|
@ -9,6 +9,11 @@ import Flutter
|
|||
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)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue