Hey guys, Is some solution save auth token somewhere like registry in FMX for mobiles?

Comments

  1. You can store all your data in app private folder

    ReplyDelete
  2. Аров Марат Yes I know and i have build that method but when i check some data when initializing app then i want to check permissions for read storage and it's not good idea for my case

    ReplyDelete
  3. Why would you need to check permissions for reading storage for data that is private to the app?

    ReplyDelete
  4. David Nottage If my app is installing on SDCard I don't want permission for reading private folder?

    ReplyDelete
  5. Are you talking about other apps accessing that private folder? There's a reason why it's called: "private"

    ReplyDelete
  6. David Nottage Ok maybe I doesn't understand that and because i implement storage permission request in my app

    ReplyDelete
  7. Some data storage info: developer.android.com - Data and file storage overview | Android Developers "By default, files saved to the internal storage are private to your app, and other apps cannot access them (nor can the user, unless they have root access). This makes internal storage a good place for internal app data that the user doesn't need to directly access. The system provides a private directory on the file system for each app where you can organize any files your app needs.

    When the user uninstalls your app, the files saved on the internal storage are removed. Because of this behavior, you should not use internal storage to save anything the user expects to persist independenly of your app. For example, if your app allows users to capture photos, the user would expect that they can access those photos even after they uninstall your app. So you should instead save those types of files to the public external storage."

    ReplyDelete
  8. Darian Miller Yes exactly, I use INI files for store some name value data, but I want to use some fonts in my app and when I add a file to deployment and deploying it doesn't appear to app internal storage.
    There is attached screenshot image file
    https://plus.google.com/photos/...

    ReplyDelete

Post a Comment