googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
636 stars 410 forks source link

CompletionEvent not triggered #93

Open saurabhnmahajan opened 6 years ago

saurabhnmahajan commented 6 years ago

I'm trying to get a confirmation for a successful file upload to drive but the onComplete listener never triggers even though the file content is successfully overridden on Drive.

ExecutionOptions executionOptions =
        new ExecutionOptions.Builder()
                .setNotifyOnCompletion(true)
                .build();
return driveResourceClient.commitContents(contents, null, executionOptions);

I've set the Service in AndroidManifest and just doing a log in onComplete but it never triggers.

Any help?