Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

React-Native Firebase Requests from referer are blocked

/*
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 u003cemptyu003e 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"
            }
          }
        ]
      }
    }
  ]
*/
Comment

PREVIOUS NEXT
Code Example
Java :: cannot set char field to null value java 
Java :: how to make a bot to wait in jda 
Java :: get last element of array java 
Java :: how to install java 8 on terminal os 
Java :: how to print arraylist 
Java :: list java processes 
Java :: android display drawable in imageview 
Java :: reverse recyclerview android 
Java :: check last character of string java 
Java :: java how to center window 
Java :: java get keys from tree map 
Java :: check java version 
Java :: android java optional arguments 
Java :: java initialize array with same value 
Java :: android clear specific sharedpreference value 
Java :: java import set and hashset 
Java :: IntStream.generate 
Java :: containskey java complexity 
Java :: java loop backwards through array 
Java :: how to set the backtound color in java 
Java :: java loop object 
Java :: anagram java program 
Java :: retrofit dependencies in android studio kotlin 
Java :: print line in jjava 
Java :: array to array list 
Java :: how to find a number in a string java 
Java :: switch activity android studi 
Java :: java stack using linked list 
Java :: print two dimensional array java 
Java :: {} when initialising arraylist java 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =