Ionic Framework and Firebase 3.x version: This domain is not authorized for OAuth operations for your Firebase project
<p>I am developing an iOS app using Ionic Framework and Firebase. I have updated Firebase SDK to version 3.x in my project. What I am trying to do is to authenticate the user with Facebook on a real device. Everything works fine when I test it on a browser. However, whenever I run on a real iOS device, I always get the following error:</p>

<p><strong>This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.</strong></p>

<p>On Firebase, I have already added "localhost" and "127.0.0.1" to my authorized domain list. So I am not sure what to do right now. </p>

<p>For your information, I do not use WKWebView in my project.</p>

<p>Does anybody here can tell me how I can solve this? Please advice.</p>