Remove CameraRoll saving
This commit is contained in:
parent
4970018afb
commit
b4a5fdebab
@ -1,4 +1,3 @@
|
||||
import { CameraRoll } from "@react-native-camera-roll/camera-roll";
|
||||
import React, { useCallback, useRef, useState } from "react";
|
||||
import {
|
||||
StyleProp,
|
||||
@ -62,10 +61,6 @@ export const RecordingButton: React.FC<RecordingButtonProps> = ({
|
||||
},
|
||||
onRecordingFinished: async (video) => {
|
||||
onMediaCaptured(video, "video");
|
||||
const path = video.path;
|
||||
await CameraRoll.saveAsset(`file://${path}`, {
|
||||
type: "video",
|
||||
});
|
||||
onStoppedRecording();
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user