cordova-cli icon indicating copy to clipboard operation
cordova-cli copied to clipboard

Firebase OAuth Issue - Requests from this Android client application <empty> are blocked.

Open sss-hnguyen opened this issue 6 years ago • 0 comments

Bug Report

I'm using cordova to wrap an angular 7 application (Google Firebase) that runs into the error

"Requests from this Android client application <empty> are blocked."

When redirecting to Facebook for OAuth. Apparently I'm not sending a package name or something? Do we need to use a browser key instead of an Android key for API credentials, or is there a right way to configure cordova for this?

Version information

    "dependencies": {
        "cordova-android": "^7.1.4",
        "cordova-ios": "^4.5.5",
        "cordova-plugin-browsertab": "^0.2.0",
        "cordova-plugin-buildinfo": "^2.0.2",
        "cordova-plugin-compat": "^1.2.0",
        "cordova-plugin-customurlscheme": "^4.4.0",
        "cordova-plugin-geolocation": "^4.0.1",
        "cordova-plugin-inappbrowser": "^3.0.0",
        "cordova-plugin-inapppurchase": "^1.2.0",
        "cordova-plugin-whitelist": "^1.3.3",
        "cordova-universal-links-plugin": "^1.2.1",
        "cordova-universal-links-plugin-fix": "1.2.1",
        "phonegap-plugin-barcodescanner": "^8.0.1"
    },
    "cordova": {
        "plugins": {
            "cordova-plugin-whitelist": {},
            "cordova-plugin-geolocation": {},
            "cordova-plugin-buildinfo": {},
            "cordova-universal-links-plugin": {},
            "cordova-plugin-browsertab": {},
            "cordova-plugin-inappbrowser": {},
            "cordova-plugin-customurlscheme": {
                "URL_SCHEME": "com.domain.app"
            }
        },
        "platforms": [
            "ios",
            "android"
        ]
    }
  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

sss-hnguyen avatar Apr 29 '19 20:04 sss-hnguyen