Google Authentication in Ionic 4 Apps
This repo is an Ionic v4 starter app to show you how to add Google Plus Log In to an Ionic App. There is also a detailed tutorial to help you with the Google Account setup and with the step by step of building this Ionic Framework app.
For this Ionic example app we are going to build a simple Ionic app that allows users to log in using their Google account. Once they log in, they will see a home page with their basic profile info.
Note: This code is for Ionic v4.
- If you are working with Ionic v3 go to ionic-v3 branch.
- If you are working with Ionic v1 go to Google Plus Authentication in Ionic v1 Apps.
Installation of this app
Install node dependencies
$ npm install
Running the app
To run the app on your browser
$ ionic serve
To run the app on iOS
Follow the steps from https://ionicframework.com/docs/developing/ios
$ ionic cordova prepare ios
To run the app on Android
Follow the steps from https://ionicframework.com/docs/developing/android
$ ionic cordova prepare android
$ ionic cordova run android
Get a professional Ionic Starter App
Did you know that we recently released Ionic 5 Full Starter App? It’s an ionic template that you can use to jump start your Ionic app development and save yourself hundreds of hours of design and development.
It is also a PWA and has a score of 100 in lighthouse.
It also has lots of forms and validations examples.