React-Native: Google custom URI schemes not allowed for client type "WEB"

I am creating an app in React-Native and has Google Login . I am researching this and I got Google-React-Native from here . I added it and followed all the steps it said. But I am still wrong. I spent two days doing this but didn't get any solution.

I also follow this solution , but my problem is still not resolved. Can anyone help me find a solution?

enter image description here

+3


source to share


1 answer


This is a very small mistake. The problem is generating a key for Google. I follow below steps and generate a new key and it works for me.

1) Open " https://console.developers.google.com " and create one app.

2) You will get three menus in the left size. Tab credentials .

3) A new window will appear with three options. "Credentials", "OAuth Consent Screen" and "Domain Verification".

4) Click Credentials , and then Create credentials .



5) Click on OAuth Client ID and fill in the information. You will receive one key.

Use it in your application and it will work fine.

Hope these steps help other guys too.

Happy coding

enter image description here

+1


source







All Articles