Giter VIP home page Giter VIP logo

Comments (6)

spinach avatar spinach commented on May 22, 2024

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.

IchordeDionysos avatar IchordeDionysos commented on May 22, 2024

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.

spinach avatar spinach commented on May 22, 2024

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.

IchordeDionysos avatar IchordeDionysos commented on May 22, 2024

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.

spinach avatar spinach commented on May 22, 2024

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.

spinach avatar spinach commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.