Skip to content

Commit

Permalink
replace react-native-camera-kit with react-native-vision-camera
Browse files Browse the repository at this point in the history
  • Loading branch information
myxmaster committed May 10, 2024
1 parent 2efbfa3 commit 4746133
Show file tree
Hide file tree
Showing 9 changed files with 185 additions and 129 deletions.
4 changes: 4 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/orange" />
<!-- Necessary for react-native-vision-camera QR code scanning -->
<meta-data
android:name="com.google.mlkit.vision.DEPENDENCIES"
android:value="barcode" />
<activity
android:name=".MainActivity"
android:label="@string/app_name"
Expand Down
15 changes: 10 additions & 5 deletions assets/images/SVG/Flash Off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions assets/images/SVG/Flash On.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions assets/images/SVG/Gallery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions components/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as React from 'react';
import { Button as ElementsButton } from 'react-native-elements';
import { themeColor } from './../utils/ThemeUtils';
import { StyleProp, ViewStyle } from 'react-native';
import { StyleProp, TextStyle, ViewStyle } from 'react-native';

interface ButtonProps {
title?: string;
icon?: any;
titleStyle?: any;
titleStyle?: TextStyle;
onPress?: any;
secondary?: boolean;
tertiary?: boolean;
Expand Down
Loading

0 comments on commit 4746133

Please sign in to comment.