Remove Google integration

This commit is contained in:
MM20
2025-02-09 12:54:20 +01:00
parent 3478411d7e
commit 45a19ce95e
36 changed files with 2 additions and 1047 deletions
@@ -1,24 +0,0 @@
# Google Cloud Services
Google Cloud Services are used for Google Drive search. To enable Google Drive integration in your builds, follow these steps:
1. Go to the [Google Cloud Console](https://console.cloud.google.com)
1. Create a new project.
1. Enable the Drive API:
1. Go to APIs & Services > Library and search for the Google Drive API.
1. Enable this API for your project.
1. Setup your OAuth consent screen
1. Go to APIs & Services > OAuth consent screen
1. On the Oauth consent screen page, fill out all the required fields
1. On the Scopes page, click add or remove scopes and add the following scopes: `userinfo.profile` and `drive.metadata.readonly`
1. Create a new Oauth 2.0 client (you need to do this twice, for debug builds and for release builds)
1. Go to APIs & Services > Credentials
1. Click on Create Credentials > OAuth client ID
1. Choose application type Android
1. Enter the package name (`de.mm20.launcher2.debug` for debug builds or `de.mm20.launcher2.release` for release builds)
1. Enter the SHA-1 certificate fingerprint of your APK signing key
1. Click on create
1. Download the client config file (repeat this step for both the debug and the release client)
1. On the APIs & Services > Credentials page, find your OAuth client in the list under OAuth 2.0 Client IDs.
1. Click on the download icon to download a `client_config.json`
1. Place this file under `g-services/src/debug/res/raw/g_services.json` or `g-services/src/release/res/raw/g_services.json`