Coder Social home page Coder Social logo

Comments (4)

rbstarbuck avatar rbstarbuck commented on July 17, 2024

The API will refuse any connection attempt. When this happens depends on whether the app is using the old GoogleApiClient model, where the Drive API is requested and a connect() call is made, or in the newer connectionless client model, where connections happen in the background when the API is first accessed. In both cases any attached onFailure listeners will be invoked (for the former this happens on the connect() call, for the latter on any Drive API call).

Additionally, a dialog will be invoked by Google Play Services indicating that an API was requested which is not available and to contact the developer for assistance.

from android-samples.

robsmall avatar robsmall commented on July 17, 2024

@rbstarbuck thanks for the response and information!

We are using the older GoogleApiClient model where we call connect.

We have a bit of a concern since we have seen an issue where connection failures get into an infinite loop when calling either result.startResolutionForResult() or GoogleApiAvailability.getInstance().getErrorDialog() (I can't remember which code path it hits off hand) in onConnectionFailed(). This happens specifically when users change their password for the Google Account that is used on a different device. This happens in both the newer and older method IIRC, but I haven't tested both in a while. I should file a bug report for this elsewhere probably...

from android-samples.

rbstarbuck avatar rbstarbuck commented on July 17, 2024

Because Duo is one of the bigger customers for Drive Android API, I'd be happy to check how the deprecation will affect older clients for users with outdated versions. Feel free to DM me if you're comfortable with sharing an outdated APK you'd like a QA test on.

from android-samples.

robsmall avatar robsmall commented on July 17, 2024

Thanks! I won't be able to share our application code, but I'll reach out via email and we can figure something out. I can likely spin up a sample app similar to what we have in production or something of the sort for testing.

from android-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.