I pushed an app to production, and it shows the following error in the google play console.
Leaked GCP API Keys Your app contains exposed Google Cloud Platform (GCP) API keys. Please see this Google Help Center article for details.
com.example.tools.homeScreen.MainActivity->onCreate
I tried adding this line of code in the build gradle file and specifying the keys in the local.properties file. But it didn't work.
buildConfigField("String", "sender_id", "\"" + localProperties['SENDER_ID'] + "\"")