Skip to content

image picker not working when use google_mlkit_text_recognition on ios semulater M4 Mac #774

Open
@dryasbk

Description

@dryasbk

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

When I add google_mlkit_text_recognition to the image picker official exampl, the gallary open but it freezed and no error appear. i reviewed semilar behavior and they plamed that arche. issue was reported at https://github.com/flutter/flutter/issues/155401#issuecomment-2456164711. I found out that this issue occure when I add google_mlkit_text_recognition to my project. and work well without. It was pointed the error at https://github.com/flutter/flutter/issues/155401#issuecomment-2456164711 , I follow instruction to exelude armv7 and in Podfile but still not working.

Steps to reproduce.

Just add google_mlkit_text_recognition to pubspec.yaml in image picker official example. try it before it pick the image. but when added google_mlkit_text_recognition it freezed.

What is the expected result?

expected result to be able to pick the image so text recognetion be done.

Did you try our example app?

Yes

Is it reproducible in the example app?

Yes

Reproducible in which OS?

iOS

Flutter/Dart Version?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.4 24E248 darwin-arm64, locale en-SA)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.99.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Plugin Version?

google_mlkit_text_recognition: ^0.13.0
google_mlkit_text_recognition: ^0.14.0
google_mlkit_text_recognition: ^0.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions