Comments (4)
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.
@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.
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.
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)
- Unable to Signin HOT 1
- Question: Google Drive Application Specific Folder Deprecation HOT 7
- Get Specific drive folder 's list in Android HOT 1
- How to use Google Drive API in Android application? HOT 6
- Error after updating to new Gradle version HOT 6
- META-INF/DEPENDENCIES error HOT 1
- Deprecation Example - Sign In stuck HOT 5
- Image upload with folder example Not Given HOT 1
- Drive Access popup is not coming
- Solve Google Drive 401 error for Android release builds HOT 2
- App script sample HOT 1
- I got a headache when I was trying to figure out all these stuff
- How to configure sample for testing? HOT 2
- Displaying images
- How to create a shareable folder programatically in google drive HOT 1
- Deprecated link in the README.md
- mDriveServiceHelper is always null
- 'call(java.util.concurrent.Executor, java.util.concurrent.Callable<TResult>)' is deprecated
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-samples.