Skip to content

Commit 1256bf4

Browse files
authored
chore(readme): clarify permissions
1 parent dfdb98d commit 1256bf4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,13 @@ If you've just created a new Expo project or have only been using the Expo SDK s
9999
After completing **Step 2: Configure the config plugin**, follow these steps:
100100

101101
- To (re)-generate the native Android project, run:
102+
102103
```bash
103104
npx expo run:android
104105
```
106+
105107
- To (re)-generate the native iOS project, run:
108+
106109
```bash
107110
npx expo run:ios
108111
```
@@ -826,10 +829,9 @@ ExpoSpeechRecognitionModule.abort();
826829

827830
### `requestPermissionsAsync(): Promise<PermissionResponse>`
828831

829-
Presents a dialog to the user to request permissions for using speech recognition and the microphone.
832+
Presents a dialog to the user to request the necessary permissions.
830833

831-
For iOS, once a user has granted (or denied) location permissions by responding to the original permission request dialog,
832-
the only way that the permissions can be changed is by the user themselves using the device settings app.
834+
For iOS, this requests two permissions: record permissions (to access the microphone), and speech recognition permissions. Once a user has granted (or denied) permissions by responding to the original permission request dialog, the only way that the permissions can be changed is by the user themselves using the device settings app.
833835

834836
```ts
835837
import { ExpoSpeechRecognitionModule } from "expo-speech-recognition";

0 commit comments

Comments
 (0)