Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Upload does not work on flutter web #2

Open
1 task done
CodeRebirth opened this issue Apr 26, 2024 · 1 comment
Open
1 task done

[Bug]: Upload does not work on flutter web #2

CodeRebirth opened this issue Apr 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@CodeRebirth
Copy link

Contact Details

sixpathssenin@gmail.com

What happened?

Getting error while trying to upload in flutter web using unsigned upload.

Some issue with dart:io

Version

1.2.0

What devices are you seeing the problem on?

Windows

OS

Chrome

Relevant log output

Error: Unsupported operation: MultipartFile is only supported where dart:io is available.
packages/flutter/src/gestures/pointer_router.dart 143:9                           <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:7           forEach
packages/flutter/src/gestures/pointer_router.dart 141:17                          [_dispatchEventToRoutes]
packages/flutter/src/gestures/pointer_router.dart 127:7                           route
packages/flutter/src/gestures/binding.dart 495:5                                  handleEvent
packages/flutter/src/gestures/binding.dart 475:14                                 dispatchEvent
packages/flutter/src/rendering/binding.dart 430:11                                dispatchEvent
packages/flutter/src/gestures/binding.dart 420:7                                  [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 383:5                                  handlePointerEvent
packages/flutter/src/gestures/binding.dart 330:7                                  [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 299:9                                  [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 1361:5                                invoke1
lib/_engine/engine/platform_dispatcher.dart 286:5                                 invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 398:30                                    [_sendToFramework]
lib/_engine/engine/pointer_binding.dart 224:7                                     onPointerData
lib/_engine/engine/pointer_binding.dart 1001:20                                   <fn>
lib/_engine/engine/pointer_binding.dart 930:7                                     <fn>
lib/_engine/engine/pointer_binding.dart 531:9                                     loggedHandler
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 550:37  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 555:39  dcall

Code of Conduct

  • I agree to follow this project's Code of Conduct
@CodeRebirth CodeRebirth added the bug Something isn't working label Apr 26, 2024
@nixrajput
Copy link
Owner

Hi @CodeRebirth,

Thank you for raising the issue. I would greatly appreciate your feedback as it helps us improve our project and address the potential issues. We value your input and will work towards solving the problem you pointed out. Your contribution to our project is invaluable, and we are grateful for your help in improving it. Thank you for taking the time to bring this issue to our attention.

Regards,
Nikhil (@nixrajput)

@nixrajput nixrajput added the enhancement New feature or request label Apr 29, 2024
@nixrajput nixrajput pinned this issue May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants