Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 652 Bytes

File metadata and controls

11 lines (10 loc) · 652 Bytes

google-login

  1. create a project from termainal as ionic start google blank
    2)cd google project
    3)Add the required platform in terminal as ionic add platform ****
    4)Add the ng-cordova.min.js file above the cordova.ja file in our project
    5)Add the ng-cordova-oauth.min.js file in index.html
    6)Insert that 'ngCordova' and 'ngCordovaOauth' dependency in app.js file
    7)In Index.html I wrote a button as login via google
    8)In app.js I wrote an Controller to display the status of google login and it's functionality please have a look
    9)Please update your cordova platform if the above plugin doesn't work