googleworkspace/android-samples

CompletionEvent not triggered

Opened this issue · 0 comments

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?