Hello Yang,
Just to make sure I understand, you followed the a rel="nofollow"Login Example/a and get Google login fail?
Could you clarify what you have tried and what exactly does not work?
Hello Yang,
Thank you for reporting this, just for last clarification you are using an app template "Login Registration Example - Ionic" from visual builder?
First of all, the redirect URI should be specified in the Google developer console the following way:
precode
http://appery.io/app/view/b5033adc-xxxx-xxxx-xxxx-a8e30x78xxfb//code/pre
and in the App your 'loginGoogle' function code should be as follows:
precodeApperyio.User.loginGoogle(Apperyio.Config.get('myDB_settings.googleClientId'), "http://appery.io/app/view/" + Apperyio.Config.get('myDB_settings.appId') + "/").then(function(token){
Apperyio.navigateTo("itemsPage");
},function(error) {
alert("error_" + JSON.stringify(error));
});/code/pre
Also make sure that you using correct "appId" in your Database service settings.