Skip to content

InputImageConverter.java uses unchecked or unsafe operations #776

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

Closed
Tom3652 opened this issue May 6, 2025 · 1 comment
Closed

InputImageConverter.java uses unchecked or unsafe operations #776

Tom3652 opened this issue May 6, 2025 · 1 comment
Labels
InputImage Issues related to InputImage

Comments

@Tom3652
Copy link

Tom3652 commented May 6, 2025

Describe your issue. If applicable, add screenshots to help explain your problem.

Note: /Users/foxtom/.pub-cache/hosted/pub.dev/google_mlkit_commons-0.11.0/android/src/main/java/com/google_mlkit_commons/InputImageConverter.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Steps to reproduce.

  1. Add google_mlkit_text_recognition dependency
  2. Build the app on an android device

What is the expected result?

No warnings of "unsafe operations"

Did you try our example app?

No

Is it reproducible in the example app?

No response

Reproducible in which OS?

Android

Flutter/Dart Version?

flutter: 3.29.3

Plugin Version?

google_mlkit_text_recognition: ^0.15.0

@bensonarafat
Copy link
Collaborator

@Tom3652
This is duplicate #771
But i have send a new fix for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
InputImage Issues related to InputImage
Projects
None yet
Development

No branches or pull requests

3 participants