MM20 d6a005293e
Optimize release build APK size
please no new bugs prayge
2022-02-08 21:41:26 +01:00
..
2021-09-18 23:37:52 +02:00
2021-09-18 23:37:52 +02:00
2021-09-18 23:37:52 +02:00

:g-services

⚠️ Depends on non-free external services.

This module manages API calls to Google APIs and connected Google accounts.

Configuration

This module requires additional configuration in order to work properly. You can skip this step but then Google API related features (e.g. Google Drive search) won't be available.

In order to use Google APIs, you need to setup a new project in the Google Cloud Console first.

  1. Open the Google Cloud Console
  2. Create a new project.
  3. Enable the Drive API:
    1. Go to APIs & Services > Library and search for the Google Drive API.
    2. Enable this API for your project.
  4. 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
    2. Click on Create Credentials > OAuth client ID
    3. Choose application type Android
    4. Enter the package name (de.mm20.launcher2.debug for debug builds or de.mm20.launcher2.release for release builds)
    5. Enter the SHA-1 certificate fingerprint of your APK signing key
    6. Click create
  5. 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.
    2. Click the download icon to download a client_config.json
    3. Place this file under src/debug/res/raw/g_services.json or src/release/res/raw/g_services.json