victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
457 stars 27 forks source link

RFC: Android 11 compatibility #93

Open victordiaz opened 3 years ago

victordiaz commented 3 years ago

Problem description Android 10 and more strictly Android 11 introduced a bunch of limitations to access the external storage, which by the way is where PHONK stores the user projects.

Storing in the external storage gave PHONK a bunch of advantages such as:

As Android is deprecating (or at least making it more and more difficult) to operate with the external storage, PHONK will have to migrate where to store the files in devices with Android > 11

I'm don't fully understand the possibilities but for now the most viable option is to use the internal storage so

If that option is taken:

Any other approaches not taken into account here? Suggestions?

Android version Android 11

SeriousM commented 3 years ago

As far as I know you can opt for special folders as long as they're not wildcard. Otherwise you could offer a way to sync the files via GoogleDrive (hidden storage) or by using a simple Google Firebase User Authentication plus file storage. Edit: this could also be a good solution: https://gun.eco/