Skip to content

Commit 946f78f

Browse files
committed
chore: update README to reflect support for expo-video and expo-audio
1 parent 08892f9 commit 946f78f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/uikit-react-native/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ expo install expo-image-picker \
213213
expo-file-system \
214214
expo-clipboard \
215215
expo-notifications \
216-
expo-av \
216+
expo-audio \
217+
expo-video \
217218
expo-video-thumbnails \
218219
expo-image-manipulator
219220
```
@@ -225,7 +226,8 @@ import * as ExpoFS from 'expo-file-system';
225226
import * as ExpoImagePicker from 'expo-image-picker';
226227
import * as ExpoMediaLibrary from 'expo-media-library';
227228
import * as ExpoNotifications from 'expo-notifications';
228-
import * as ExpoAV from 'expo-av';
229+
import * as ExpoAudio from 'expo-audio';
230+
import * as ExpoVideo from 'expo-video';
229231
import * as ExpoVideoThumbnail from 'expo-video-thumbnails';
230232
import * as ExpoImageManipulator from 'expo-image-manipulator';
231233

@@ -239,16 +241,16 @@ const expoPlatformServices = {
239241
documentPickerModule: ExpoDocumentPicker,
240242
}),
241243
media: createExpoMediaService({
242-
avModule: ExpoAV,
244+
avModule: ExpoVideo,
243245
thumbnailModule: ExpoVideoThumbnail,
244246
imageManipulator: ExpoImageManipulator,
245247
fsModule: ExpoFS,
246248
}),
247249
player: createExpoPlayerService({
248-
avModule: ExpoAV,
250+
avModule: ExpoAudio,
249251
}),
250252
recorder: createExpoRecorderService({
251-
avModule: ExpoAV,
253+
avModule: ExpoAudio,
252254
}),
253255
};
254256
```

0 commit comments

Comments
 (0)