vishnuagbly / google_sign_in_all_platforms

2 stars 6 forks source link

Web version not running #8

Open hadi-14 opened 4 weeks ago

hadi-14 commented 4 weeks ago

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following UnsupportedError was thrown building AuthHandler(state: _AuthHandlerState#a3b88): Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was: AuthHandler AuthHandler:file:///D:/flutter/franchise_management_app/lib/main.dart:52:33

When the exception was thrown, this was the stack: dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 296:3 throw dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5 _operatingSystem dart-sdk/lib/io/platform_impl.dart 56:40 get operatingSystem dart-sdk/lib/io/platform.dart 83:44 get operatingSystem dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1091:8 get dart-sdk/lib/io/platform.dart 146:48 get isMacOS dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1091:8 get packages/google_sign_in_all_platforms_interface/src/extensions/platform.dart 5:42 get isDesktop packages/google_sign_in_all_platforms/google_sign_in_all_platforms.dart 13:12 new packages/franchise_management_app/auth/firebase_login.dart 46:21 initState packages/flutter/src/widgets/framework.dart 5748:55 [_firstBuild] packages/flutter/src/widgets/framework.dart 5593:5 mount ..

════════════════════════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: Unsupported operation: Platform._operatingSystem

vishnuagbly commented 3 weeks ago

Will look into it 👀 Remind me on weekend 👀

On Mon, 19 Aug 2024, 1:37 am hadi-14, @.***> wrote:

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following UnsupportedError was thrown building AuthHandler(state: _AuthHandlerState#a3b88): Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was: AuthHandler AuthHandler:file:///D:/flutter/franchise_management_app/lib/main.dart:52:33

When the exception was thrown, this was the stack: dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5 _operatingSystem dart-sdk/lib/io/platform_impl.dart 56:40 get operatingSystem dart-sdk/lib/io/platform.dart 83:44 get operatingSystem dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1091:8 get dart-sdk/lib/io/platform.dart 146:48 get isMacOS dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1091:8 get packages/google_sign_in_all_platforms_interface/src/extensions/platform.dart 5:42 get isDesktop packages/google_sign_in_all_platforms/google_sign_in_all_platforms.dart 13:12 new packages/franchise_management_app/auth/firebase_login.dart 46:21 initState packages/flutter/src/widgets/framework.dart 5748:55 [_firstBuild] packages/flutter/src/widgets/framework.dart 5593:5 mount ..

════════════════════════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: Unsupported operation: Platform._operatingSystem

— Reply to this email directly, view it on GitHub https://github.com/vishnuagbly/google_sign_in_all_platforms/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWY3GWQNOAT4XUZGBR3N6TZSD5IZAVCNFSM6AAAAABMWUNBQGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TEMJSGQ3TSNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hadi-14 commented 3 weeks ago

Hey, the Weekend is here. I did resolve this quite a time before and now I don't know how to because I stupidly forgot to have it pushed onto github.

vishnuagbly commented 3 weeks ago

Got it will look into it 👍🏻

On Sat, 24 Aug 2024, 9:23 pm hadi-14, @.***> wrote:

Hey, the Weekend is here. I did resolve this quite a time before and now I don't know how to because I stupidly forgot to have it pushed onto github.

— Reply to this email directly, view it on GitHub https://github.com/vishnuagbly/google_sign_in_all_platforms/issues/8#issuecomment-2308437566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWY3GRMRR4PC5HMGWBMKITZTCUADAVCNFSM6AAAAABMWUNBQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQZTONJWGY . You are receiving this because you commented.Message ID: @.***>

vishnuagbly commented 3 weeks ago

@hadi-14 how can I reproduce this? I was not able to take a look at the issue completely till now. But you have not provided any steps to reproduce this.