androidgoogle-drive-apigoogle-play-gamesgoogle-drive-android-apigoogle-drive-realtime-api

Google Drive Api deprecated ( Google play games -> Saved Games )


I received an email saying that on December 9th all methods using Google Drive API will be deprecated.

Reading the documentation of the Saved Games (https://developers.google.com/games/services/android/savedgames), they use Google Drive API.

Will Google Play Games also be deprecated? How can I solve?

Thank you.

My Build.gradle

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "xxxxxx"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 29
        versionName "29"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    implementation 'com.google.android.gms:play-services-auth:16.0.1'
    implementation 'com.google.android.gms:play-services-games:16.0.0'
    implementation 'com.google.android.gms:play-services-ads:17.1.2'

    implementation 'com.android.billingclient:billing:1.1'
}

Solution

  • Google Drive Android API Deprecation

    The Drive Android API is deprecated as of December 6, 2018 and will be turned down on December 6, 2019.

    This API is deprecated. Clients must migrate to the Drive REST API or another suitable solution to avoid disruptions to your application.

    October 21, 2019 The Drive Android API is removed from the Google Play Services SDK distribution. Apps will be unable to build until removing the Drive Android API dependency, but existing builds will be unaffected. The Drive Android API public documentation will no longer be available.

    Read more at https://developers.google.com/drive/android/deprecation