Does the Google Maps API Key expire after a certain time?

I looked around a bit and did not seem to find an answer. I just inherited the android app project halfway, and Maps doesn't seem to work.

I see that there is an API key in the xml file, but is there a way to find out if it is valid?

Thanks.

+4
source share
4 answers

The map API key is tied to the certificate that you use to sign the APK. This will be different for each installation of the Android SDK. If another developer has already worked on this, you need to create a new key based on the Debug SDK certificate http://code.google.com/android/add-ons/google-apis/mapkey.html#getdebugfingerprint , and then create a new API key http://code.google.com/android/add-ons/google-apis/mapkey.html#registering

+5
source

The API key is associated with the signature key. It does not have an expiration date, but a signing key. If you use a debug key signing key, it expires in a year. The Release Signing key should expire no earlier than October 22, 2033 (I have been using it for 100 years). I don’t know how to check the certificate validity period, but it’s relatively easy to get a new Google Maps API key. See My Google Maps Guide

+3
source

Not really (except trying to call a service). You can register your own key by following these steps: How to get my signature key

+1
source

What is the age of your project? I read somewhere that API keys cannot expire, but maybe the author asked to delete it or requested a new one.

+1
source

Source: https://habr.com/ru/post/1379335/


All Articles