Videos
If you already have the key got the link below and add the fingerprint along with your android project package name
You also need to login to your google account
https://code.google.com/apis/console
Click on create new key. Add the fingerprint along with your android project package name.
You can see the api key above
Enable google map api v2 from services tab.
Then in manifest file under application tag
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="my key"/>
Visit the API Console
Login with your Google acocunt and click the API Access tab. Your API key is listed there.
You will also need to enable Google Maps Android API v2 service for your API key. You can do that on the services tab via the toggle button.
As far as i ve checked, the api key should be in android manifest which will be used by the MapView that we are using in the app. But the problem is if i decompile my app, i can see my api key in the manifest.
I even checked the apk (cloned the repo found in android documentation website itself which has the example on implementing maps in project), its the same.
How to secure it? I saw that we can use google console and we can restrict the use of api, but still the api should be set in manifest and still it can be decompiled and misused. How to solve this?