Skip to content

Drive image upload fixes

Compare
Choose a tag to compare
@MrPickles MrPickles released this 01 May 21:31
· 21 commits to master since this release

This release mainly introduces various bug fixes with image uploads via the Google Drive API.

To support the Drive API, you will need to add some new configuration to the app's build.gradle (which was missing from earlier documentation).

compile 'com.google.android.gms:play-services-drive:10.2.1'
compile('com.google.apis:google-api-services-drive:v3-rev69-1.22.0') {
    exclude group: 'org.apache.httpcomponents'
    exclude group: 'com.google.code.findbugs'
}

There should be no other required changes to your code. For reference, here is the image upload API.

public void uploadToDrive(String folderId, String fileName, Bitmap image);

It's a good idea for groups who save pictures to upload their pictures to Drive. These groups include the Spiral Test group, the Level Test, and the Swaying Test group.