From b4a5fdebab85f3f3481fdfa6e81429f930647bca Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 5 Feb 2024 01:39:30 -0700 Subject: [PATCH] Remove CameraRoll saving --- component/video/capture-button.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/component/video/capture-button.tsx b/component/video/capture-button.tsx index 6dd42c6..ea83a36 100644 --- a/component/video/capture-button.tsx +++ b/component/video/capture-button.tsx @@ -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 = ({ }, onRecordingFinished: async (video) => { onMediaCaptured(video, "video"); - const path = video.path; - await CameraRoll.saveAsset(`file://${path}`, { - type: "video", - }); onStoppedRecording(); }, });