csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
348 stars 217 forks source link

flutter: Speech recognition failed: MissingPluginException(No implementation found for method initialize on channel plugin.csdcorp.com/speech_to_text) #489

Closed sagarzala123 closed 1 month ago

sagarzala123 commented 2 months ago

When integrating Flutter as a module into an existing native application, I may encounter issues with Flutter plugins, especially when dealing with platform-specific initialization. In my case, the speech_to_text plugin is causing a runtime error during initialization on iOS.

flutter: Speech recognition failed: MissingPluginException(No implementation found for method initialize on channel plugin.csdcorp.com/speech_to_text)

Code: (AppDelegate.swift)

func crateEngineFlutter(){ self.flutterEngine = FlutterEngine(name: "package", project: nil) self.flutterEngine?.run(withEntrypoint: nil) GeneratedPluginRegistrant.register(with: self.flutterEngine!) }

wamynobe commented 2 months ago

What type of option did you try? option A or B? Can you show your flutter doctor -v?

sowens-csd commented 1 month ago

Is there an update on this? If not I'll close it.