Google Sign In WebGL
Add google sign in to your web app!
- Category:
- Tools › Integration
- Developer:
- Marks
- Price:
- $5
- Rating:
- Favorites:
- 15
- Download Size:
- 191.06 KB
- Current Version:
- 1.0
- Original Release:
- Apr 6, 2022
- Last Update:
- Jun 30, 2022
- Supported Unity Version:
- 2019.4.36 or higher
- Description:
This plugin implements Google Sign In for WebGL, using Google’s new Identity Services API.
FEATURES
- Sign in with Google
- One-tap sign-up
- Automatic sign-in
- You don’t need to touch html/css (although you can if you want to!), even to place the sign in button
- C# interface very similar to official API
KNOWN ISSUES
If you go fullscreen the google sign in button disappears, or don't show up in the correct spot. There are a couple of ways to deal this:
a) My plugin supports placing the google sign in button with CSS/HTML, so if you are an HTML/CSS person you can try to make my plugin work with fullscreen yourself (also, if you manage to do it, please reach out to me and let me know how. I'd greatly appreciate it).
b) Another option is to edit the HTML/CSS so that the game always covers the whole screen even without fullscreen. You don't have to do this if your target is only mobile, since the default template already covers the whole screen for mobile. But if you need to support desktop, there are templates readily available that do this, such as https://github.com/Heelio/UnityResponsiveWebGLTemplate .
c) Alternatively, simply disable fullscreen. Remove the fullscreen button.
If fullscreen mode is absolutely a must, I suggest you go with option 2b), and after the user signed in and the google sign in button is no longer visible, you can show a button to go fullscreen without issues.
If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).
continue »