Replies: 1 comment
-
Hi, can you please submit an issue here: https://github.com/logto-io/dart |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting a major problem with adding and using logto_dart_sdk with flutter WASM which currently makes logto unusable
Adding just logto_dart_sdk: ^3.0.0 to pubspec.yaml gives the following error when building:
Target dart2wasm failed: ProcessException: Process exited abnormally with exit code 254: ../../../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_web-1.2.1/lib/flutter_secure_storage_web.dart:5:8: Error: Dart library 'dart:html' is not available on this platform.
To resolve this issue, flutter_secure_storage_web requires v2.0 or higher due to the conversion from dart:html to package:web
But adding flutter_secure_storage_web: ^2.0.0-beta.2 gives a weird dependency issue.
Because flutter_secure_storage >=6.1.0 <9.1.0 depends on flutter_secure_storage_web ^1.1.1 and flutter_secure_storage >=9.1.0 <9.1.1 depends on flutter_secure_storage_web ^1.2.0, flutter_secure_storage >=6.1.0 <9.1.1 requires flutter_secure_storage_web ^1.1.1.
logto_dart_sdk is asking for a version ^1.1.1 but flutter_secure_storage_web requires v2.0 or higher due to the conversion from dart:html to package:web
Beta Was this translation helpful? Give feedback.
All reactions