Social media authentication

hi all, this is a little bit off, but i need support.

i will like to know the best way to integrate login with social media platforms using framework7 cordova app.

i attempted to use (google) firebase auth following this link but still couldnt achieve it successfully.

i keep getting the mobile app identifier os not registered for the current project as response.

kindly advice on any tuts or paper i can check out to achieve this.


Just to know, did you register your app in firebase console? and if you did, how?

yes @pvtallulah i did by following the steps provided on the documentation.


can you share the config of the cordova proj?

<widget id="com.gazellewebtech.playafricatest" version="1.0.0" xmlns="" xmlns:cdv="">
        A sample Apache Cordova application that responds to the deviceready event.
    <author email="[email protected]" href="">
        Apache Cordova Team
    <content src="index.html" />
    <plugin name="cordova-plugin-whitelist" spec="1" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <platform name="android">
        <allow-intent href="market:*" />
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    <engine name="android" spec="~7.1.4" />
    <engine name="ios" spec="~4.5.5" />
    <plugin name="cordova-plugin-buildinfo" spec="2.0.2" />
    <plugin name="cordova-universal-links-plugin" spec="~1.2.1" />
    <plugin name="cordova-plugin-browsertab" spec="0.2.0" />
    <plugin name="cordova-plugin-inappbrowser" spec="3.0.0" />
    <plugin name="cordova-plugin-customurlscheme" spec="4.3.0">
        <variable name="URL_SCHEME" value="com.gazellewebtech.playafricatest" />
        <variable name="ANDROID_SCHEME" value=" " />
        <variable name="ANDROID_HOST" value=" " />
        <variable name="ANDROID_PATHPREFIX" value="/" />

        <host name="" scheme="https" />
        <host name="" scheme="https">
            <path url="/__/auth/callback"/>
    <preference name="AndroidLaunchMode" value="singleTask" />


@pvtallulah any assistance?

Hi emmanuel,

did you add sha1?

Im trying to guess what is wrong with your project…

@pvtallulah yes i did.

i actually just created a new project and started from scratch.

when i log the error, i get this, “The redirect operation has been cancelled by the user before finalizing.

I created a project using f7-cli cordova + webpack. add my proy to firebase console and it works fine.

i upload it to my github

in FB console just add ios and android platforms with app id
SHA1 for android.

i am taking a look now

@pvtallulah this is a repository to mine as well

Just tst your proy. made few changes and it works fine;

why do you store the error in localStorage? bcs, first time i try, i cancel the login popup. and localstorage error was set with The redirect operation has been cancelled by the user before finalizing.
so every time i try to do login after canceling my first login the IF prevent FB to ask login again.

      // This line prevent your app to check/ask login again.
      // else if(localStorage.erro){
      //   app.dialog.alert(localStorage.erro);
      // }

also i use another plugin

cordova plugin rm cordova-universal-links-plugin
cordova plugin add

if you see an error, something about minSdkVersion = 16 bla bla
just change this files and set minSdkVersion = 19



def minSdkVersion = 19

its the first line.

Hope it helps.