When uploading a build to the Google Play Store Console, an issue occurs.
The mistake is as follows.
Leaking GCP API Keys
Keys to Google Cloud Platform (GCP) APIs are exposed in your app.
The offending code is listed below.
Places.initialize(getApplicationContext(), BuildConfig.GOOGLE_API_KEY);
I am reading the key from BuildConfig and also restricting it, as per the guidelines. But the problem is still there. How can I resolve this problem?