Saving login screen username and password for Kivy app

后端 未结 3 1186
盖世英雄少女心
盖世英雄少女心 2021-01-21 02:15

I am working on a Kivy app for iOS and Android and need help with keeping the user persistently logged in, even after the app is closed or killed. I am using Parse to store user

3条回答
  •  旧时难觅i
    2021-01-21 03:02

    The answer is essentially that you must simply save the data somewhere. The details will depend on your requirements, and aren't specific to kivy - you can look up normal android or python practices.

    I'm not sure exactly what android guarantees about permissions, but storing stuff in your app directory (on the main partition, not 'external' storage) should be inaccessible to other apps, though anything with root can view them. You can use normal python tools if you want to encrypt the data, and manage your own kivy gui for getting a decryption key/password from the user.

提交回复
热议问题