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

[IOS] App crash with google_mlkit_translation #551

Open
longtn-imt opened this issue Nov 16, 2023 · 3 comments
Open

[IOS] App crash with google_mlkit_translation #551

longtn-imt opened this issue Nov 16, 2023 · 3 comments
Labels
Crash Crash reported On-Device Translation Issues corresponding to On-Device Translation API Text Recognition Issues corresponding to Text Recognition API

Comments

@longtn-imt
Copy link

Crash app IOS when call function translateText(...)

File pubspec.yaml

environment:
  sdk: ">=3.0.0 <4.0.0"
  flutter: ">=3.7.0"

dependencies:
  flutter:
    sdk: flutter
  camera: any
  google_mlkit_commons: ^0.6.1
  google_mlkit_text_recognition: ^0.11.0
  google_mlkit_translation: ^0.9.0

dev_dependencies:
  flutter_lints: ^3.0.1
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: false

Debug console

[MLKit][I-MLK008000] Error reading configs: Error Domain=com.google.mlkit Code=13 "Couldn't read file." UserInfo={NSLocalizedDescription=Couldn't read file., NSUnderlyingError=0x600001e9b090 {Error Domain=NSCocoaErrorDomain Code=260 "The file “remote_config.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/longtn/Library/Developer/CoreSimulator/Devices/AD7304E2-4C45-4FAA-8FEA-6A5B26B01866/data/Containers/Data/Application/CD90B1CC-410A-4ED2-B0ED-4AB86BFB7246/Library/Application Support/com.google.mlkit.remoteconfig/remote_config.json, NSUnderlyingError=0x600001e98870 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}

@longtn-imt longtn-imt changed the title [IOS] google_mlkit_translation crash simulator IOS [IOS] App crash with google_mlkit_translation Nov 16, 2023
@dmitry-kotorov
Copy link

Same here

1 similar comment
@fazal88
Copy link

fazal88 commented Feb 14, 2024

Same here

@mellow0412
Copy link

Im too facing similar problem. Any fixes or workaround found for this issue ?

@fbernaly fbernaly added On-Device Translation Issues corresponding to On-Device Translation API Crash Crash reported Text Recognition Issues corresponding to Text Recognition API labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Crash reported On-Device Translation Issues corresponding to On-Device Translation API Text Recognition Issues corresponding to Text Recognition API
Projects
None yet
Development

No branches or pull requests

5 participants