FCM Security Alert

落花浮王杯 提交于 2019-12-01 13:09:02

问题


Security alert

Your app contains exposed Google Cloud Platform (GCP) API keys. Please see this Google Help Center article for details.

I have an android application uploaded in google play store which uses Firebase for App Cloud Messaging in android. I have recently got an alert from play console that

Security alert : Your app contains exposed Google Cloud Platform (GCP) API keys. Please see this Google Help Center article for details.

Could you please tell anyone to resolve this issue.

Thanks in advance.


回答1:


Hi this warning would come because the google cloud platform api key you are using in your app might be exposed you have to put the restriction on this api key from Google Cloud Console. There are two type of restriction 1. Application Restriction 2. API Restriction Please refer below link https://cloud.google.com/docs/authentication/api-keys#api_key_restrictions



来源:https://stackoverflow.com/questions/56870621/fcm-security-alert

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!