Third-Party iPhone Keyboards Gain Direct Voice Input, Bypassing Apple Restrictions

0
15

Third-party iPhone keyboards can now directly access the device’s microphone for voice input, circumventing previous limitations imposed by Apple. This allows users to start dictation directly from the keyboard interface without needing to switch between applications.

Historically, Apple did not permit third-party keyboards to directly utilize the device’s microphone. To use voice input, users had to open the primary keyboard app, record their audio, and then return to the text field. This process became even more cumbersome with the release of iOS 16.4, which introduced restrictions on automatically returning to the previous application.

How Developers Bypassed Apple’s Restrictions

Developers have found a workaround to overcome these limitations. The first keyboard to implement this feature was Raycast. Subsequently, other keyboards such as Function, Aqua Voice, Superwhisper, Granola, and Wispr Flow have also added direct voice input capabilities.

While the exact implementation details remain undisclosed by Raycast’s creators, a developer named Chandra Vikram shared a plausible theory on X (formerly Twitter). The method reportedly involves embedding a small, invisible web browser within the keyboard. This browser then uses the browser’s microphone API to capture audio. Because WebKit runs in a separate process, it sidesteps the restrictions on microphone access for other applications.

The captured audio data is then relayed back to the keyboard for speech-to-text conversion. It’s important to note that this technique does not leverage official Apple APIs and therefore carries the risk of being blocked in future iOS updates.

Source: ithome.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here