File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
packages/uikit-react-native Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff 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';
225226import * as ExpoImagePicker from ' expo-image-picker' ;
226227import * as ExpoMediaLibrary from ' expo-media-library' ;
227228import * 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' ;
229231import * as ExpoVideoThumbnail from ' expo-video-thumbnails' ;
230232import * 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```
You can’t perform that action at this time.
0 commit comments