You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.env.template Change: clientId Not Supported on Android
Description
The application generates a warning message during Google Sign-In implementation on Android because clientId is being used instead of serverClientId. This issue needs to be addressed by updating the .env.template configuration to use the correct parameter name.
Current Warning Message
W/google_sign_in( 4272): clientId is not supported on Android and is interpreted as serverClientId. Use serverClientId instead to suppress this warning.
Current Implementation
In the current .env.template:
GOOGLE_SIGNIN_ANDROID_CLIENT_ID=
Required Change
The environment variable should be updated to:
SERVER_CLIENT_ID=
Impact
This warning appears in the Android logs during Google Sign-In operations.
While the application still functions (as clientId is being interpreted as serverClientId), it's not following best practices.
The warning creates unnecessary noise in the logs.
Future versions of the Google Sign-In SDK might deprecate this fallback behavior.
Steps to Reproduce
Set up the application with the current .env.template.
Configure Google Sign-In.
Check Android logs during the sign-in process.
Observe the warning message.
Proposed Solution
Update .env.template to use SERVER_CLIENT_ID instead of GOOGLE_SIGNIN_ANDROID_CLIENT_ID.
Update all related documentation to reflect this change.
Add a migration guide for existing users.
Update any related code that references this environment variable.
The text was updated successfully, but these errors were encountered:
Can you please assign this issue to me?
Thanks!! @mdmohsin7
abhinavs1920
changed the title
[ .env.template Change] due to clientId is not supported on Android and is interpreted as serverClientId
[ .env.template Change] change is required due to clientId is not supported on Android and is interpreted as serverClientId
Dec 23, 2024
🐛 Describe the bug
.env.template
Change:clientId
Not Supported on AndroidDescription
The application generates a warning message during Google Sign-In implementation on Android because
clientId
is being used instead ofserverClientId
. This issue needs to be addressed by updating the.env.template
configuration to use the correct parameter name.Current Warning Message
W/google_sign_in( 4272): clientId is not supported on Android and is interpreted as serverClientId. Use serverClientId instead to suppress this warning.
Current Implementation
In the current
.env.template
:GOOGLE_SIGNIN_ANDROID_CLIENT_ID=
Required Change
The environment variable should be updated to:
SERVER_CLIENT_ID=
Impact
clientId
is being interpreted asserverClientId
), it's not following best practices.Steps to Reproduce
.env.template
.Proposed Solution
.env.template
to useSERVER_CLIENT_ID
instead ofGOOGLE_SIGNIN_ANDROID_CLIENT_ID
.The text was updated successfully, but these errors were encountered: