flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
907 stars 709 forks source link

MissingPluginException in Integration Tests #640

Closed tylercodes1 closed 1 month ago

tylercodes1 commented 1 month ago

I am trying to write an integration test that ultimately makes a call to TextRecognizer().processImage(inputImage), but it ultimately fails with MissingPluginException(No implementation found for method vision#startTextRecognizer on channel google_mlkit_text_recognizer)

To Reproduce Code Sample Steps to reproduce the behavior:

  1. Run the Integration test
  2. See error

Expected behavior I expected the integration test to run so that I am able to fully call my function static Future<String> processImage(InputImage inputImage) async {}.

Screenshots _imageutils.dart image

Platform (please complete the following information):

fbernaly commented 1 month ago

This is in our README:

Screenshot 2024-06-04 at 10 36 44 AM

Also, in the pub.dev website:

Screenshot 2024-06-04 at 10 38 01 AM