Hello,
I am currently working on an iOS app and studying the feasibility of a custom voice detection feature.
The user might set up a secret voice keyword (a custom word or phrase).
When this keyword is spoken, even when the iPhone is locked and stored in a pocket, the application would automatically trigger an action.
My questions are:
- Can an iOS app continuously detect a custom voice keyword when running in the background and iPhone is locked?
- Is there an officially supported and App Store compatible method to perform this detection locally, without recording or transmitting audio?
- Can an application automatically trigger an action following this detection?
- Would using AVAudioSession and the audio mode in the background be an acceptable solution for this use case?
- Are there any Apple frameworks suitable for this type of feature?
I would be particularly interested in feedback from Apple engineers or developers who have experimented with similar features.
Thank you in advance for your help.