From 66a27546924f2604be677903a012404ee72c1902 Mon Sep 17 00:00:00 2001 From: Lorenz Graf Date: Mon, 14 Sep 2020 11:44:46 +0200 Subject: [PATCH] fixed #27 (Camera view is not showing on android) https://github.com/TeamHive/capacitor-video-recorder/issues/27 --- .../java/com/github/sbannigan/capacitor/VideoRecorder.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/@teamhive/capacitor-video-recorder/src/main/java/com/github/sbannigan/capacitor/VideoRecorder.java b/android/@teamhive/capacitor-video-recorder/src/main/java/com/github/sbannigan/capacitor/VideoRecorder.java index 67e69ec..382d1f5 100644 --- a/android/@teamhive/capacitor-video-recorder/src/main/java/com/github/sbannigan/capacitor/VideoRecorder.java +++ b/android/@teamhive/capacitor-video-recorder/src/main/java/com/github/sbannigan/capacitor/VideoRecorder.java @@ -127,6 +127,9 @@ public void onCameraOpenUI() { } startTimer(); updateCameraView(currentFrameConfig); + for (FrameConfig f : previewFrameConfigs.values()) { + updateCameraView(f); + } } public void onCameraCloseUI() {