Today I received an email from Google with the subject:
[Action Required] Remove the addApi(Drive.API) code from your apps that initialize the Google Drive Android API
I will show below the body of the email, but before I want to point that Google indicated that 3 of my games uses Google Drive API, nevertheless the three games that Google indica does not make any call to Drive API, just the common calls: to logged in to gpgs, submit score to leaderboards and show leaderboards.
After I read the email, I logged in to Google Cloud and disabled the Google Drive API from those 3 game projects, and after that I tested one of those games and none of the calls to gpgs worked. I mean, the user can not logged in to gpgs, leaderboards does not submit and you can not show leaderboards. So, I enabled the Google Drive API and bingo, all ok again. So, it seems that Solar2d calls to that API internally.
Email from Google:
Hello Google Developer,
We’re writing to let you know that we’ve found one or more of your apps continue to initialize the Google Drive Android API, which will be fully turned off on February 1, 2023. Impacted apps are listed at the end of this email.
On December 6, 2018, we announced that we’re simplifying options for developers by retiring the Google Drive Android API. Since the beginning of 2022, none of the Google Drive Android API calls are functional anymore. You might have unintentionally integrated with it in the past.
On February 1, 2023, the Google Drive Android API will be fully turned off. Any app that continues to initialize the Google Drive Android API will start to break.
Please remove the following code from the apps before February 1, 2023.
Note: Even if your app doesn’t rely on Google Drive, your app’s functionality might be impacted if you connect to the Google Drive Android API.
Your impacted projects are below:
Thanks for choosing Google Workspace.
– The Google Workspace Team