title: How should I go about adding a Custom URL Scheme to my Info.plist file for firebase phone auth?
body: <p>This question is in relation to <a href="https://stackoverflow.com/questions/52867392/why-firebase-phone-auth-requires-a-custom-url-scheme-to-be-registered-in-xcode">Why firebase phone auth requires a custom URL scheme to be registered in Xcode?</a></p>
  
  <p>I have tried a couple of things to add Custom URL Scheme to my Info.plist to no luck</p>
  
  <p>I added the following lines to my Info.plist</p>
  
  <pre><code>&lt;key&gt;CFBundleURLTypes&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Editor&lt;/string&gt;
          &lt;key&gt;CFBundleURLName&lt;/key&gt;
          &lt;string&gt;com.googleusercontent.apps&lt;/string&gt; 
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;apps.{{CLIENT_ID}}&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>EDIT:
  Solved the problem by modifying the above lines like this</p>
  
  <pre><code>
  &lt;key&gt;CFBundleURLTypes&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Editor&lt;/string&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;com.googleusercontent.apps.{{CLIENT_ID}}&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  </code></pre>