Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow basic user data backup on Android #49069

Merged
merged 1 commit into from
May 25, 2021

Conversation

RandomShaper
Copy link
Member

@RandomShaper RandomShaper commented May 25, 2021

This adds an export option to enable the most basic modality of automatic backup of user data (basically, an export preset flag that maps to <application android:allowBackup="" ...>; see https://developer.android.com/guide/topics/data/autobackup).

Projects that store device or session specific data that shouldn't be backed up, shouldn't use it, as explained in the above guide. They would need an evolution of this feature where there would be additional settings for white-listing which files to allow backup for.

However, this basic setting already helps projects that just store gameplay data and save them from the burden of implementing game services or something like that just to get user data backed up and restored on reinstall (on the same or another device).

NOTE: Version for 3.x submitted as #49070.

@RandomShaper RandomShaper added this to the 4.0 milestone May 25, 2021
@RandomShaper RandomShaper requested a review from a team as a code owner May 25, 2021 15:45
@RandomShaper RandomShaper changed the title Alow basic user data backup on Android Allow basic user data backup on Android May 25, 2021
@akien-mga akien-mga merged commit ae5735a into godotengine:master May 25, 2021
@akien-mga
Copy link
Member

Thanks!

@RandomShaper RandomShaper deleted the android_data_backup branch May 25, 2021 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants