<@UEQKPE9BQ> I understand your concern. If you wan...
# android
h
@Bilagi I understand your concern. If you want to securely persist data even when the app is uninstalled and then reinstalled, you have limited options on Android: 1. Google Drive Backup: You can use the Android Backup Service to back up certain data to the user's Google Drive account. This data will be restored when the user reinstalls the app on the same device. However, this method relies on the user's Google account and may not be suitable for sensitive data. 2. Server-Side Storage: For more secure and persistent data storage, consider using a server-side solution. Store the data on a remote server and associate it with the user's account. This way, the data remains intact even if the app is uninstalled and reinstalled. Ensure proper security measures are in place to protect sensitive information. 3. User Authentication: If the data is associated with a user account, you can use user authentication mechanisms to tie the data to the user. Services like Firebase Authentication or OAuth can help ensure that the data is accessible only to the authenticated user, regardless of app reinstalls. 4. Device-Based Encryption: You can use Android's built-in encryption mechanisms to encrypt and store sensitive data on the device. This can help protect the data even if the app is uninstalled, but it won't persist across different devices. Please keep in mind that no method is completely foolproof, and the level of security depends on the sensitivity of the data you're trying to protect. It's essential to assess the security requirements of your specific use case and implement the appropriate measures accordingly.
🧵 1
not kotlin but kotlin colored 7