React-Native Firebase żądania odniesienia są zablokowane
/*
You must add the app fingerprint on the firebase console
OR
Change the key from ./app/google-services.json > api_key.current_key
Go to https://console.cloud.google.com/apis/credentials/ and create a new API Key for Android.
Replace the key from google-services.json with this key
Error message:
W/Firebase-Installations: Error when communicating with the Firebase Installations server API.
HTTP response: [403 Forbidden: {
"error": {
"code": 403,
"message": "Requests from referer \u003cempty\u003e are blocked.",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_HTTP_REFERRER_BLOCKED",
"domain": "googleapis.com",
"metadata": {
"service": "firebaseinstallations.googleapis.com",
"consumer": "projects/foo"
}
}
]
}
}
]
*/
florinrelea