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

Build failure on Android due to using latest version of quill_native_bridge plugin #2281

Closed
1 task done
DipawaliParmar8dots opened this issue Sep 25, 2024 · 2 comments · Fixed by #2283
Closed
1 task done
Labels
bug Something isn't working moderate Issues that are important for improving functionality or user experience.

Comments

@DipawaliParmar8dots
Copy link

DipawaliParmar8dots commented Sep 25, 2024

Is there an existing issue for this?

Flutter Quill version

10.7.5

Steps to reproduce

I have issue after using quill first 2 3 times when i run the application working fine and then i get this error ...application can not build

 C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\QuillNativeBridgePlugin.kt: (12, 31): Unresolved reference: decodeBitmap
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\QuillNativeBridgePlugin.kt: (111, 63): Unresolved reference: decodeBitmap
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\QuillNativeBridgePlugin.kt: (111, 78): Cannot infer a type for this parameter. Please specify it explicitly.
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\QuillNativeBridgePlugin.kt: (111, 81): Cannot infer a type for this parameter. Please specify it explicitly.
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\clipboard\ClipboardImageHandler.kt: (11, 31): Unresolved reference: decodeBitmap
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\clipboard\ClipboardImageHandler.kt: (187, 24): Unresolved reference: decodeBitmap
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\clipboard\ClipboardImageHandler.kt: (187, 39): Cannot infer a type for this parameter. Please specify it explicitly.
e: C:\Users\HP\AppData\Local\Pub\Cache\hosted\pub.dev\quill_native_bridge-10.7.6\android\src\main\kotlin\dev\flutterquill\quill_native_bridge\clipboard\ClipboardImageHandler.kt: (187, 42): Cannot infer a type for this parameter. Please specify it explicitly.

Expected results

application build without any issue

Actual results

get Unresolved reference: decodeBitmap error

Additional Context

Screenshots / Video demonstration

[Upload media here]

Logs
[Paste your logs here]
@DipawaliParmar8dots DipawaliParmar8dots added the bug Something isn't working label Sep 25, 2024
@EchoEllet
Copy link
Collaborator

EchoEllet commented Sep 25, 2024

Did you included quill_native_bridge in your pubspec.yaml? This log has changed are included in #2230 though not merged yet, we haven't updated the minimum version of quill_native_bridge in flutter_quill so those shouldn't be an issue (AFAIK).

@singerdmx @CatHood0 @AtlasAutocode This happened in #2280, #2264, and #1192, and confirm we have an issue, projects using flutter_quill are automatically using the latest versions of its dependencies even when not included in their pubspec.yaml, I still don't get why the latest version of flutter_inappwebview is being used in my outdated branch when we updated the pubspec.yaml of flutter_quill_extensions 3 months ago.

Just to confirm, I never updated the version of quill_native_bridge in flutter_quill, and this whole log is not an issue even in my local branch, but it's outside of the branch since the project is using latest version of quill_native_bridge when related changes of the branch is not published and is not merged either, it also happened with other dependencies.

@DipawaliParmar8dots Does using version 10.6.6 fix the issue for you? If yes, can you slowly increase the version one after the other until reaching 10.7.5 and see which version have the issue?

@EchoEllet EchoEllet added the moderate Issues that are important for improving functionality or user experience. label Sep 25, 2024
@EchoEllet EchoEllet changed the title Unresolved reference: decodeBitmap and Cannot infer a type for this parameter. Please specify it explicitly. error while run application Build failure on Android due to using latest version of quill_native_bridge plugin Sep 25, 2024
@EchoEllet
Copy link
Collaborator

It seems that I have missed that we're using the caret constraint (^). Still doesn't answer my question.

Should be fixed in 10.7.7.

@DipawaliParmar8dots Can you try the new version and see if the issue remain

flutter_quill: ^10.7.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working moderate Issues that are important for improving functionality or user experience.
Projects
None yet
2 participants