Google Login problem with standalone app

Hi @viki-expo and @harshmaur.

You need to make some changes for it to work in a standalone app. Have you followed the instructions here (Android, iOS)?

Do you get any error messages anywhere? e.g. with adb logcat?

Also, have you considered using the native method instead (GoogleSignIn)?

1 Like

Are you using different client ID for apk? I am suggesting to test for real device. Now , i am working on Google Sign for my app, my app works fine on standalone app but After i test on real device with apk file , i saw redirect url error.

1 Like

Hi, You can please tell me where put {behavior: “web”}. Does it have to be placed in config object in Google.logInAsync(config)?.
Thank you very much.

Hi, You can please tell me where put {behavior: “web”}. Does it have to be placed in config object in Google.logInAsync(config)?.
Thank you very much.

yes, in the logInAsync({behavior:‘web’})