Google Map Api visibility Security Error

When I uploaded the app in to play store it seems this security error.
How can I private this API in code?

I don’t think there is a way to private this api key …

But you can restrict it … Restrict it to package name,
Or other ways … So even if others got the key they won’t be able to misuse it !

1 Like