appseed-io / ionic3-firebase-auth

Τhe source code of a tutorial on Integrating Firebase Password and Google Authentication into your Ionic 3 App
http://appseed.io/blog/integrating-firebase-password-and-google-authentication-your-ionic-3-app
43 stars 38 forks source link

Google provider doesn't work #5

Open fjoalland opened 6 years ago

fjoalland commented 6 years ago

Hello,

I just cloned your repository and run it. If I run this ionic project on my laptop, no problem I can connect with Google provider. But if I build this ionic project and run it on my smartphone it won't work.

Do you have any idea why?

GeorgeKonispoliatis commented 6 years ago

Hello,

We recently updated our repository and now the application runs normally on Android and iOS devices. Note, that some additions should be made to your Firebase project. More precisely, you need to follow this tutorial to configure your Firebase project. You can ignore step 1 as it’s already described in our tutorial . Follow the steps 2, 3 and 4. You can skip step 5 as we have enabled the Google Sign-In earlier in our tutorial. For the 6th step, we have already included those plugins in config.xml. Only the Custom URL Scheme plugin needs to be configured with your own values. We suggest to remove it and add it again, as described in the Firebase tutorial, using the values of your own application. In the 7th step you need to edit the config.xml file and replace the existing values of DYNAMIC_LINK_DOMAIN and AUTH_DOMAIN with the ones the Firebase tutorial suggests. We recommend you to add the cordova-android platform of 6.2.3 version and build the iOS platform with Cordova 6.5.