Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Google Drive App data folder not listing all childrens

I have used the new Google Play services 4.3 to back-up my app data to the "App Folder" from Google Drive. I followed the instructions from this link Storing Application Data. I checked in "Manage Apps" and the file seems to be added. If I try to list the children of the App Folder, they are returned successfully.

The issue appears when I install the app on another device (properly synced), or if I uninstall and install the app again on the same device. When I tried to list the children of the App Folder, the count returned is 0.

PS: I tried querying with both:

Drive.DriveApi.getAppFolder(mGoogleApiClient).listChildren(mGoogleApiClient)

and

Drive.DriveApi.getAppFolder(mGoogleApiClient).queryChildren(mGoogleApiClient, query)
like image 838
user3655685 Avatar asked May 20 '14 09:05

user3655685


People also ask

How do I find hidden app data on Google Drive?

Via the site you open the settings menu and then choose "Manage Apps". Via the Drive app you can select Backups in the left menu, select a device, then App data and you'll get to see the list of apps and info.

How do I sync my Google Drive folder with Android?

With the Google Drive mobile app, you can manually or automatically sync files and folders from your Android device to Google Drive. Please start syncing all documents stored on your phone by doing the following: Step 1: On your Android phone, open the Google Drive app. Step 2: Click the "+" button.

Where are Google Drive files stored Android?

It's in hidden partition “/data"which you cannot access without root permissions. /data/data/com. google.


1 Answers

There is a known issue regarding syncing App Folder content after app uninstallation and reinstallation. For cross device backup, we recommend using requestSync() to ensure App Folder content is synced before attempting to restore.

like image 70
Daniel Avatar answered Oct 16 '22 06:10

Daniel