wqpparking.blogg.se

Github android kotlin
Github android kotlin








github android kotlin

allowed-application="sha1_fingerprint= SHA1_FINGERPRINT,package_name= ANDROID_PACKAGE_NAME" Gcloud alpha services api-keys update "projects/ PROJECT/keys/ KEY_ID" \ Gcloud services api-keys list -project=" PROJECT"Ĭlear existing restrictions on existing key. If the Maps SDK for Android is not listed, you need to

  • Select Maps SDK for Android from Select APIs dropdown.
  • Enter your package name and SHA-1 certificate fingerprint.
  • Click + Add package name and fingerprint.
  • Under Key restrictions, set the following restrictions:.
  • Select the API key that you want to set a restriction on.
  • Instead, you must go to the app signing page on the Play Console to get your certificate fingerprint. The Android SDK tools generate this certificate when you run a release build.įor more information about digital certificates, see theįor information about getting your certificate fingerprint, see Authenticating Your Client.
  • Release certificate: Use this certificate when you're ready to release yourĪpp to an app store.
  • The Android SDK tools generate this certificate automatically when you run a debug Do not attempt to publish an app that's signed with a debugĬertificate.
  • Debug certificate: Only use this certificate type with apps you're testingĪnd other non-production code.
  • Signing key that was used to sign the application. When you restrict your API key, you must provide the SHA-1 certificate fingerprint of the When restricting an API key in the Cloud Console,Īpplication restrictions override any APIs enabled under API restrictions.įollow best practices by creating a separate API key for each app, and for each platform Restricting API keys adds security to your application by Google strongly recommends that you restrict your API keys by limiting their usage to those onlyĪPIs needed for your application. Note: You can use the same API key for your The new API key is listed on the Credentials page under API keys.Ĭloud SDK gcloud alpha services api-keys create \ The API key created dialog displays your newly created API key. On the Credentials page, click Create credentials > API key.

    github android kotlin

    Go to the Google Maps Platform > Credentials page.

  • Prepare for Google Play data disclosure requirements.









  • Github android kotlin