fix!: remove super_clipboard from flutter_quill_extensions and move it to quill_super_clipboard #2322
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Moving
super_clipboard
dependency from flutter_quill_extensions to quill_super_clipboard.Minor breaking change
Unfortunately, this is a breaking change, while it doesn't require changes in Dart code, it requires removing the following from
AndroidManifest.xml
if was configured to launch the app:The new default implementation (#2230) uses quill_native_bridge which supports all the features that are used by
flutter_quill
and was made to avoid introducing a breaking change (changing the previous behavior), though I have missed that the required provider inAndroidManifest.xml
is in super_native_extensions, removingsuper_clipboard
also removessuper_native_extensions
and that plugin has the classcom.superlist.super_native_extensions.DataProvider
which doesn't exist anymore, you will be unable to run the app.Migration
Remove the following if used:
A. Using the new default implementation
The android configuration of
super_clipboard
is no longer required.The following snippet should be removed otherwise you will be unable to launch the app:
The error will be encountered when not removing this
See the
quill_native_bridge
platform configuration (optional for copying images on Android).Other Optional changes
minSdkVersion
:android { defaultConfig { minSdk = flutter.minSdkVersion } }
ndkVersion
:android { ndkVersion = flutter.ndkVersion }
B. Continue using the
super_clipboard
implementationUse the new default implementation or if you want to continue using
super_clipboard
, use the package quill_super_clipboard (support might be discontinued in future releases).Related Issues
Type of Change