Closed carpentierchloe closed 2 months ago
Do you get the same issue with the example app? Can you upgrade the connectivity_plus plugin?
connectivity_plus 5.0.2 depends on js ^0.6.4 and no versions of connectivity_plus match >5.0.2 <6.0.0, connectivity_plus ^5.0.2 requires js ^0.6.4. And because speech_to_text >=6.6.1 depends on js ^0.7.1, connectivity_plus ^5.0.2 is incompatible with speech_to_text >=6.6.1. Consider downgrading your constraint on speech_to_text: flutter pub add speech_to_text:^6.6.0
Try adding this until connectivity_plus upgrades, or just as a test to see if iOS is working for you.
dependency_overrides:
js: ">=0.7.1"
Thx, I succeeded to get the version 6.0.1 of the package now. However, hasSpeech is still returning "false" :'(
Is this on a real device or an emulator? Have you tried the sample app?
It is on a real device and it was working before.
With the package permission handler Permission.microphone.status is true but await speech.initialize( ) is still returning false.
The issue was with the permission of my device, all apologies.
@carpentierchloe what was the permission issue? May be helpful for others too
I have the version 6.0.0 and it does not work anymore on IOS (it is well working on Android).
I well have permission NSSpeechRecognitionUsageDescription and NSMicrophoneUsageDescription in ios/Runner/Info.plist
hasSpeech is returning "false"
I have the last version of flutter, brew and pod are updated. Impossible to get the version 6.0.1 : speech_to_text >=6.6.1 depends on js ^0.7.1 and connectivity_plus >=4.0.2 depends on js ^0.6.4, speech_to_text >=6.6.1 is incompatible with connectivity_plus >=4.0.2.
Thanks a lot for your help