Skip to content

Commit 8408dc5

Browse files
committed
Updated libraries to work with latest react-native, react-native-camera & react-native-vector-icons. Removed react-native-compress & react-native-spinkit because right now we can set video codec via react-native-camera options
1 parent 69ec889 commit 8408dc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+152
-923
lines changed

Example/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const App: () => React$Node = () => {
2626
const videoRecorder = useRef(null)
2727
function startRecorder () {
2828
if (videoRecorder && videoRecorder.current) {
29-
videoRecorder.current.open((data) => {
29+
videoRecorder.current.open({ maxLength: 30 }, (data) => {
3030
console.log('captured data', data);
3131
})
3232
}

Example/android/app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ android {
179179
}
180180

181181
dependencies {
182+
implementation project(':react-native-camera')
183+
implementation project(':react-native-vector-icons')
182184
implementation fileTree(dir: "libs", include: ["*.jar"])
183185
implementation "com.facebook.react:react-native:+" // From node_modules
184186

68.7 KB
Binary file not shown.
64 KB
Binary file not shown.
13.1 KB
Binary file not shown.
56.9 KB
Binary file not shown.
162 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)