title: Cordova Firebase Authentication Step 7 " universal-links "
body: <p>I follow the steps one by one <a href="https://firebase.google.com/docs/auth/web/cordova" rel="nofollow noreferrer">here</a>. But there is a problem in step 7.</p>
  
  <p>Step 7 :</p>
  
  <pre><code>&lt;universal-links&gt;
      &lt;host name="DYNAMIC_LINK_DOMAIN" scheme="https" /&gt;
      &lt;host name="AUTH_DOMAIN" scheme="https"&gt;
          &lt;path url="/__/auth/callback"/&gt;
      &lt;/host&gt;
  &lt;/universal-links&gt;
  </code></pre>
  
  <p><strong>When config.xml is added, "cordova run android" do not work.</strong></p>
  
  <p>Config.xml :</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;widget id="com.twobuddy.hybrtnkk" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
      &lt;name&gt;NeKadarKaldi&lt;/name&gt;
      &lt;description&gt;
          A sample Apache Cordova application that responds to the deviceready event.
      &lt;/description&gt;
      &lt;author email="dev@cordova.apache.org" href="http://cordova.io"&gt;
          Apache Cordova Team
      &lt;/author&gt;
      &lt;content src="index.html" /&gt;
      &lt;plugin name="cordova-plugin-whitelist" spec="1" /&gt;
      &lt;preference name="AndroidLaunchMode" value="singleTask" /&gt;
      &lt;access origin="*" /&gt;
      &lt;allow-intent href="http://*/*" /&gt;
      &lt;allow-intent href="https://*/*" /&gt;
      &lt;allow-intent href="tel:*" /&gt;
      &lt;allow-intent href="sms:*" /&gt;
      &lt;allow-intent href="mailto:*" /&gt;
      &lt;allow-intent href="geo:*" /&gt;
      &lt;platform name="android"&gt;
          &lt;allow-intent href="market:*" /&gt;
      &lt;/platform&gt;
      &lt;platform name="ios"&gt;
          &lt;allow-intent href="itms:*" /&gt;
          &lt;allow-intent href="itms-apps:*" /&gt;
      &lt;/platform&gt;
      &lt;plugin name="cordova-plugin-x-socialsharing" spec="^5.4.0" /&gt;
      &lt;plugin name="cordova-plugin-buildinfo" spec="^2.0.1" /&gt;
      &lt;plugin name="cordova-plugin-browsertab" spec="^0.2.0" /&gt;
      &lt;plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" /&gt;
      &lt;plugin name="cordova-plugin-customurlscheme" spec="^4.3.0"&gt;
          &lt;variable name="URL_SCHEME" value="com.twobuddy.hybrtnkk" /&gt;
          &lt;variable name="ANDROID_SCHEME" value=" " /&gt;
          &lt;variable name="ANDROID_HOST" value=" " /&gt;
          &lt;variable name="ANDROID_PATHPREFIX" value="/" /&gt;
      &lt;/plugin&gt;
  
  &lt;universal-links&gt;
      &lt;host name="DYNAMIC_LINK_DOMAIN" scheme="https" /&gt;
      &lt;host name="AUTH_DOMAIN" scheme="https"&gt;
          &lt;path url="/__/auth/callback"/&gt;
      &lt;/host&gt;
  &lt;/universal-links&gt;
  
      &lt;plugin name="cordova-universal-links-plugin" spec="^1.2.1" /&gt;
      &lt;engine name="ios" spec="^4.5.4" /&gt;
      &lt;engine name="android" spec="^7.0.0" /&gt;
  &lt;/widget&gt;
  </code></pre>