Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] android – Flutter – Get external storage path for IOS to store authentication files securely

Posted on November 11, 2022 By

Solution 1 :

Storing Authentication Files Securely

For storing files, if you were to store authentication files then you’d have to do so in a secure manner. i.e. KeyChain on iOS and KeyStore on Android. flutter_secure_storage pub encapsulates this for you.

Persisting information and surviving app uninstallation

As per your second point, your stored authentication files cannot survive uninstallation. You have to use DeviceCheck for iOS and SafetyNet for Android. Which offers storing bare minimum information (two bits on iOS!) and associating them with the device.

KeyChain may support this for now, but this is not guaranteed to be future-proof. KeyStore certainly does not support this.

You can also check out the following articles for more insights:

  • What Role do DeviceCheck and SafetyNet play in App Authentication?
  • The Travelled iOS Developer — Device Check
  • DeviceCheck API Unique Identifier for the iOS Devices
  • Device Check Tutorial

Problem :

I am looking for a solution to get the external path for the IOS platform to store some authentication files which should not be deleted even though my application is being uninstalled. Is there any way to achieve this with the solution I am looking for or any other technique could be used.
All suggestions are welcomed,
Thanks for help.

Comments

Comment posted by Darish

what kind of authentication you use?

Comment posted by Yogesh Chawla

I am generating an application Key and storing it in a .device file

Comment posted by Darish

did you try the path_provider package

Comment posted by Yogesh Chawla

yeah, but it only provides Application Directory path which is deleted while uninstalling the application

READ  [FIXED] android - Calculating view height using screen width and aspect ratio not working on 1440p screen
Powered by Inline Related Posts

Comment posted by Yogesh Chawla

@om-ha Will values stored in Keychain and KeyStore survive app uninstallation ?

Android Tags:android, dart, flutter, ios

Post navigation

Previous Post: [FIXED] android – Build not succed in flutter
Next Post: [FIXED] kotlin – Opening the application from the results google.com, always directs to the home page of WebView Android

Related Posts

[FIXED] java – I have a problem involving Handle.postDelay function in Android Android
[FIXED] Adding cards on top of each other in Android using XML Android
[FIXED] android – How to enable user to delete only specific data from Firebase Realtime Database Android
[FIXED] android – File shows multiple issues which is not known to me Android
[FIXED] Android SQLite query string to reach to D in A~B~C~D~E~F where A,B,C,D,E and F could have any interested length and data Android
[FIXED] android – java.lang.IllegalStateException: does not have a NavController set on xxxxx(location address) error Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • Can VPN be traced by police?
  • Where were Kaiser-Frazer cars built?
  • How do you make gold rose gold paint?
  • What are the newest type of dentures?
  • Can you wear joggers as dress pants?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme