2

I am using Cloud Vision API in my application where I have the API key in my code and I got this warning in the Google Play Console : Your app contains exposed Google Cloud Platform (GCP) API keys

So I used Jerjou's answer ( https://github.com/GoogleCloudPlatform/cloud-vision/pull/104/commits/431093c61a817df6ca88f7e644bc6219cd7aff05 ) to restrict the API key to my application and after I updated the application the warning went away but today the error came back.Any solutions to make it go away would be appreciated.

Nick
  • 1,399
  • 1
  • 9
  • 18
Gerasimos
  • 61
  • 6
  • 1
    Does your app also have Google Play Ads? This GCP warning can also be triggered by their SDK (see here: https://stackoverflow.com/a/57318428/4084269) – Josselin Oct 26 '19 at 11:35
  • 1
    I do but the warning appeared because I have the Key in my code. I was forced to use this workaround (https://stackoverflow.com/a/56964127/7520147) just to make it disappear since I have restricted the key. Thanks for your time though – Gerasimos Oct 29 '19 at 13:09

0 Answers0