Social media authentication


#1

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.

regards


#2

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


#3

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

33%20PM


#4

can you share the config of the cordova proj?


#6
<widget id="com.gazellewebtech.playafricatest" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>HelloCordova</name>
    <description>
        A sample Apache Cordova application that responds to the deviceready event.
    </description>
    <author email="[email protected]" href="http://cordova.io">
        Apache Cordova Team
    </author>
    <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>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    </platform>
    <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="/" />
    </plugin>

    <universal-links>
        <host name="playafricatest.page.link" scheme="https" />
        <host name="framework-c5bec.firebaseapp.com" scheme="https">
            <path url="/__/auth/callback"/>
        </host>
    </universal-links>
    <preference name="AndroidLaunchMode" value="singleTask" />

</widget>