-
Notifications
You must be signed in to change notification settings - Fork 862
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
fix: replace flutter_keyboard_visibility with flutter_keyboard_visibility_temp_fork to support Flutter/Wasm target #2293
Conversation
…lity_temp_fork to support wasm and be able to target latest version of compileSdkVersion
Was able to build the app for Flutter/WASM, however still having an issue running the example app: Details
Which seems to be related to hydrated_bloc. See bloc #4230 After removing Seems like a simple issue that require minor changes. Update: Was able to fix those minor issues and seems to be running without any noticeable issues with Flutter/Wasm target on the web. |
It looks like import 'web/quill_controller_web_stub.dart'
if (dart.library.html) 'web/quill_controller_web_real.dart'; So our code expects to use The alternative of This comment will be updated soon. |
This comment was marked as resolved.
This comment was marked as resolved.
…ll_controller_web_stub.dart
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
…lity_temp_fork to support Flutter/Wasm target (singerdmx#2293) * fix: replace flutter_keyboard_visibility with flutter_keyboard_visibility_temp_fork to support wasm and be able to target the latest version of compileSdkVersion on Android * fix(example): remove hydrated_bloc to run Flutter/Wasm * fix(wasm): avoid using quill_controller_web_stub.dart for web which will throw exception due to usage of dart.library.html in a conditional check * chore: remove web package as no longer used * chore: add related comments to quill_controller_web_real.dart and quill_controller_web_stub.dart * chore: format quill_controller_web_real.dart and quill_controller_web_stub.dart
Description
Replace flutter_keyboard_visibility with flutter_keyboard_visibility_temp_fork to support Flutter/Wasm target.
This is not a future-proof solution and we should replace the plugin, we might have our own solution in
quill_native_bridge
or develop a separate plugin.Related Issues
Type of Change