androidgoogle-mapsgoogle-cloud-firestoreapi-keymap-directions

How to create restricted Api Key to use directions api?


i'm creating an app that's draw routes between users using only firestore to update users location.

the problem is to use direction api i need Restricted key using (server IP addresses) what should i do ? i don't have server i'm using only firestore


Solution

  • Since your application is using a web service (Directions API), I believe you'll have to do the following to secure your API key:

    More can be found in our public documentation On mobile apps that use Maps Web Service APIs of this Protecting API Keys