Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Replace react-native-camera-kit with react-native-vision-camera #1671

Merged
merged 9 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 1 addition & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ buildscript {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")

// Needed for react-native-camera-kit
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.3")
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.4")

// LN address notifications
classpath("com.google.gms:google-services:4.3.15")
Expand Down
3 changes: 0 additions & 3 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ newArchEnabled=false
# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled=true

# Necessary for react-native-camera-kit
kotlin_version=1.8.0
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
Loading