Fix Android WebView Google Login

Заказчик: AI | Опубликовано: 08.10.2025

My Android app is a straightforward WebView wrapper around our website, but the Google Sign-In button inside that WebView behaves as if it’s dead—tap it and nothing happens. This is consistent across every device we have tested, and it has never worked since the first build. No visible error or stack-trace shows up; the button simply fails to respond. I need you to dive into the WebView implementation, identify what is blocking the OAuth flow, and implement a reliable solution. Whether it involves tweaking the WebView settings, adding the correct SHA-1 fingerprints to the Google Developer Console, handling the intent redirect, or upgrading to the latest Google Sign-In / Firebase Auth libraries, the end result must be a seamless login experience that matches how it works in a normal browser. Deliverables (acceptance criteria) • Updated Android source with the fix applied • An APK or App Bundle I can install to verify Google login works end-to-end • A brief note outlining the key changes so I can reproduce them in future builds I will provide the existing source code and access to the Google API console as soon as we start. If you have solved WebView-embedded Google Sign-In issues before, this should be quick; if not, please be confident you understand the OAuth flow within Android before taking it on.