Open hadi-14 opened 5 months ago
Are you seeing this with example app as well?
I'm facing the same Issue no matter what I do. Maybe I'm implementing the function wrong. Could you please give a short code of the signInWithGoogle() async {} function.
Coz in my Code, the Sign only happens when App runs the first time. If I logout and try to login again the following error occurs.
Error during Google sign-in: 'package:google_sign_in_all_platforms_interface/google_sign_in_all_platforms_interface.dart': Failed assertion: line 47 pos 12: '_params == null': __params is already not null
Only on restarting the App, the Login is Successful again.
Also, I know i'm asking a lot but can you tell me a way in which clientId and clientSecret can be hidden from the code, since Desktop Apps need it in the GoogleSignInParams() function.
Kindly Help. Thank you.
Got it, can you remind me to look into it, after 6 hours?
On Fri, 24 Jan 2025, 1:11 pm Devraj Raut, @.***> wrote:
I'm facing the same Issue no matter what I do. Maybe I'm implementing the function wrong. Could you please give a short code of the signInWithGoogle() async {} function.
Error during Google sign-in: 'package:google_sign_in_all_platforms_interface/google_sign_in_all_platforms_interface.dart': Failed assertion: line 47 pos 12: '_params == null': __params is already not null
Kindly Help. Thank you.
— Reply to this email directly, view it on GitHub https://github.com/vishnuagbly/google_sign_in_all_platforms/issues/10#issuecomment-2611859386, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWY3GSX2SOY2QIGB62XHBL2MHVDDAVCNFSM6AAAAABNBWJZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHA2TSMZYGY . You are receiving this because you commented.Message ID: @.***>
Hi. Reminder to solve my query and Help me Pls. Thanks.
Did you try running the example code?
On Fri, 24 Jan 2025, 7:42 pm Devraj Raut, @.***> wrote:
Hi. Reminder to solve my query and Help me Pls. Thanks.
— Reply to this email directly, view it on GitHub https://github.com/vishnuagbly/google_sign_in_all_platforms/issues/10#issuecomment-2612627449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWY3GT5NDO4CC2CI3GIIRD2MJC6NAVCNFSM6AAAAABNBWJZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGYZDONBUHE . You are receiving this because you commented.Message ID: @.***>
Yes. Like I said. I am able to Login and Logout. But the Issue is when I Logout and try to Login. The Error comes up as the GoogleSignInParams is called again.
Any luck with this Yet? Awaiting your Response. Thanks so much for this wonderful Package. I just hope it works for me.
Ohh Okk... Actually have been a little busy, if you already have the setup handy, can you try to debug and find the issue?
On Sat, 25 Jan 2025, 12:06 am Devraj Raut, @.***> wrote:
Any luck with this Yet? Awaiting your Response. Thanks so much for this wonderful Package. I just hope it works for me.
— Reply to this email directly, view it on GitHub https://github.com/vishnuagbly/google_sign_in_all_platforms/issues/10#issuecomment-2613156896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWY3GUZ3QNUUNNUKNIDWLT2MKB3NAVCNFSM6AAAAABNBWJZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTGE2TMOBZGY . You are receiving this because you commented.Message ID: @.***>
Writing to you was my last resort. I have been breaking my head over this for the past 2 days. Please when u get the time, resolve this. This issue is open since Aug 2024. Im assuming more people have had this issue. If anyone else knows anything, please respond. Thanks..
I see.. let me look into it then. This always happens with example app? When we login logout then re-login?
On Sat, 25 Jan 2025, 12:12 am Devraj Raut, @.***> wrote:
Writing to you was my last resort. I have been breaking my head over this for the past 2 days. Please when u get the time, resolve this. This issue is open since Aug 2024. Im assuming more people have had this issue. If anyone else knows anything, please respond. Thanks..
— Reply to this email directly, view it on GitHub https://github.com/vishnuagbly/google_sign_in_all_platforms/issues/10#issuecomment-2613165270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWY3GR5VNMCI3PQK2KPDML2MKCPZAVCNFSM6AAAAABNBWJZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTGE3DKMRXGA . You are receiving this because you commented.Message ID: @.***>
Hi @devrajraut @hadi-14 I cannot seem to reproduce the issue, can you provide the platform you are working on, and if possible a Minimum Reproducible Code Example.
Edit: I have tried login -> logout -> login -> logout -> login -> logout
routine for all platforms.
Hey Dev, I can log in the first time and if I log out again, I get this error until I close the app from the background and log in again. I am initializing on the login page.