Loading topic
flutter_secure_storage yet. The goal here is a decision rule: before you write a value to secure storage, you should be able to say 7 min readflutter_secure_storage has one Dart API, but it does not store data the same way on each platform. It hands your values to the operating system's own secret-keeping facilities. This chapter explains what happens after write is called, so you can predict the package's behavior on reinstalls, back6 min readpub, and read basic async/await code. It also assumes you have read the earlier chapters on wha7 min readflutter_secure_storage API: write, read, readAll, delete and deleteAll. It assumes you can write Dart with async/await, you have a Flutter app that builds for Android or iOS, and you know how to add a package with pub. It also assumes you have read the ea5 min readasync/await, that your Flutter app builds for Android or iOS, and that flutter_secure_storage is already installed. You should also know that an app typically holds a short-lived access token and a longer-lived refresh token. The previous chapt6 min readflutter_secure_storage behaves on a real device: the iOS Keychain accessibility level and the Android storage options. It assumes you have already added the package and can call write, read and delete. You should also know what a refr6 min readasync/await code and catch exceptions. It also assumes you have a TokenRepository like the one in the previous chapter, wrapping FlutterSecureStorage. Here you will learn which failures the package can raise, how to tell a transient failure from a perm5 min readflutter_secure_storage operations and have a TokenRepository like the one built earlier. It covers three situations where stored secrets behave in ways that surprise people: the app is uninstalled and installed ag6 min readflutter_secure_storage, without a device or emulator. It assumes you can write Dart tests with flutter_test, that you have the TokenRepository from the previous chapter, and that you know how async tests work.5 min readAndroidManifest.xml and Info.plist. You will add a fingerprint or face check in front of the stored refresh token and learn what that check does and does not protect.5 min readflutter_secure_storage outside Android and iOS. It assumes you have finished the earlier chapters: you know the write, read and delete API, the TokenRepository pattern, and the threat model for on-device secrets. You should also know how to build a F7 min readflutter_secure_storage writes and reads values, how the token repository is built, and how reinstalls and backups affect stored data. Here you will learn what the package does not protect against, so you can design ar7 min read