Po zalogowaniu użytkownika przez Google, jeśli skonfigurujesz logowanie przez Google za pomocą parametru DEFAULT_SIGN_IN lub metody requestProfile, możesz uzyskać dostęp do podstawowych informacji z profilu użytkownika. Jeśli skonfigurujesz Logowanie przez Google za pomocą metody requestEmail, możesz też uzyskać adres e-mail użytkownika.
Więcej informacji o dodatkowych danych profilu, które mogą być dostępne, znajdziesz w artykule GoogleSignInAccount.
Pamiętaj, że dowolne pole profilu może być null w zależności od zakresów, o które prosisz, i informacji zawartych w profilu użytkownika.
[null,null,["Ostatnia aktualizacja: 2024-11-09 UTC."],[[["Google Sign-In for Android is outdated and developers should migrate to Credential Manager for enhanced security and user experience, except for Wear OS 3, 4, and 5.0 which requires continued use of Google Sign-In for Android until Credential Manager support is available."],["After signing in, developers can access basic user profile information, but are strongly advised against using email or user ID for backend server communication; instead, utilize user ID tokens or server auth code flow for security."],["To get started, developers need to configure their Android Studio project and integrate Google Sign-In into their app before retrieving user profile data."],["User profile information can be retrieved using `GoogleSignIn.getLastSignedInAccount` but email addresses should not be used for user identification due to potential changes, instead rely on the account's ID for consistent identification."]]],[]]