Comments (6)
Hey @IchordeDionysos,
Unfortauntely we use Apple's SFSpeechRecognizer from Apple which has a minimum deployment target of iOS 10. Else we can't do speech recognition. Sorry about this!
from voice-overlay-ios.
Would it be possible to annotate classes/functions which can be used with @available
as done here:
And then allow a lower deployment target as this would allow us, developers, to give users an incremental enhancement based on their iOS version.
E.g. users running on up to iOS 9.0, have no option for voice search, users with a rather proper iOS version get speech recognition.
from voice-overlay-ios.
I see what you mean. The thing is that we feel that the library will not really be useful without the speech recognition.
Can you tell us what use case you're thinking of for iOS 9 users? What would you use the library for?
Also, note that in a coming version of the library, we're thinking of abstracting away the SpeechController, so that anyone can inject any speech recognizer. This might help with supporting lower iOS target since you will be able to inject any kind of speech recognizer/
from voice-overlay-ios.
I would only allow the use of text search and would NOT use this library, but to give users a progressive enhancement based on their iOS Version, it's much simpler to set a lower library deployment target and annotate the available functions with the @available
decorator.
Maybe there is a way with a deployment target of iOS 9.0 to include this library only when users have iOS 10.0 or higher, but I tried so many different stuff, like optional dependencies, but I couldn't find a working solution.
from voice-overlay-ios.
Okay I see what you're saying. I will mark all the classes as @available
and reduce deployment target to 9.0. Re-opening this issue and will keep you updated about the progress
from voice-overlay-ios.
Deployment target of 9.0 has just been released in pod version 1.0.0-beta2
. Go ahead and run pod update
to get the latest version from the spec repo.
from voice-overlay-ios.
Related Issues (20)
- Crash when dismissed HOT 2
- No option to dismiss in case dismiss did not work HOT 2
- Not able to implement in Project
- After setting up the project, while specking I am getting error(VoiceOverlay-Demo[640:138261] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)) HOT 1
- Title and subtitle text get truncated
- VoiceOverlayController warning Conversion to Swift 5 is available
- Crash when first request permission HOT 7
- App crashed on permissions ios 13 HOT 1
- Not able to run demo project HOT 1
- Voice Audio is not working HOT 3
- Wrong in displaying the controller
- AVAudioEngine Exception HOT 4
- AVAudioEngine Exception & Crash App HOT 1
- SwiftUI Support HOT 4
- Crash while calling and recording at the same time. HOT 1
- remove search screen
- Error Domain=kAFAssistantErrorDomain Code=203
- Crash on iOS 12 and iOS 13 devices
- Fatal Exception: com.apple.coreaudio.avfaudio
- Issue with Unwrapped SpeechRequest in SpeechController Causing Nil Issue in iOS 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voice-overlay-ios.