-
Notifications
You must be signed in to change notification settings - Fork 845
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
Compatibility Issue with HarmonyOS has error #2389
Comments
Same issue. |
A workaround: switch (defaultTargetPlatform) {
case TargetPlatform.android:
case TargetPlatform.ohos:
// Assuming HarmonyOS has the same behavior as Android...
break;
} The project uses plugins and dependencies that don't support HarmonyOS yet, so it will probably have broken behavior and buggy. |
Subject: Issues with HarmonyOS Case Implementation in Flutter Quill Hi , I hope this email finds you well. I wanted to bring to your attention some issues we've encountered with the recent implementation of the HarmonyOS (ohos) case in the Flutter Quill package. Specifically, we noticed that treating the HarmonyOS case the same as the Android case has led to several problems: Paste Functionality: The paste functionality is not working as expected. Could you please look into these problems and provide guidance on how we can resolve them? Is there any developer currently using this SDK on HarmonyOS? There isn't a good editor available for HarmonyOS right now, and this SDK is definitely going to be the top choice for a rich text editor on HarmonyOS in the future. Thank you for your attention to this matter. Best regards |
As I mentioned previously, most of those functionalities are either platform behavior or require platform native code, the project uses dependencies and plugins that don't support HarmonyOS, and supporting a new platform isn't something we plan on. I strongly prefer fewer features that are done well and not half-baked solutions. |
Is there an existing issue for this?
Use case
https://gitee.com/harmonycommando_flutter/flutter
flutter build hap
Error output
Proposal
Dear Flutter Quill Team,
We are currently using Flutter Quill as a cross-platform editor in our project. However, we have encountered several issues when trying to adapt it for HarmonyOS. Specifically, when running the flutter build hap command, we are faced with numerous errors that prevent us from successfully building the application for HarmonyOS.
Steps to Reproduce:
Set up a Flutter project with Flutter Quill as a dependency.
Attempt to build the project for HarmonyOS using the flutter build hap command.
Observe the errors that occur during the build process.
Expected Behavior:
The project should build successfully for HarmonyOS without any errors.
Actual Behavior:
The build process fails with multiple errors, indicating compatibility issues with HarmonyOS.
Error Logs:
(Include any relevant error logs or screenshots here)
Environment:
Flutter version: (include your Flutter version here)
Dart version: (include your Dart version here)
Flutter Quill version: (include the version of Flutter Quill you are using)
HarmonyOS version: (include the version of HarmonyOS you are targeting)
Additional Context:
We believe that resolving these compatibility issues would greatly benefit the Flutter community, as it would enable more developers to use Flutter Quill in their HarmonyOS projects. We would appreciate any assistance or guidance you can provide to help us overcome these challenges.
Thank you for your attention to this matter. We look forward to your response.
Best regards,
The text was updated successfully, but these errors were encountered: