moaazsidat / react-native-qrcode-scanner

A QR code scanner component for React Native.
MIT License
2.04k stars 516 forks source link

react-native-camera is deprecated - dependency in this package #365

Open MaximilianDietel03 opened 2 years ago

MaximilianDietel03 commented 2 years ago

How can I go about this? React-native-camera is recommending react-native-vision-camera. Will this be the new dependency and do I need to add it?

fabriciosautner commented 2 years ago

Same problem

SaeedZhiany commented 2 years ago

react-native-vision-camera needs Android 21+ and iOS 11+. So maybe it's not an ideal solution. because it makes developers drop support for lower versions that are currently working on old devices.

promit13 commented 2 years ago

Any update on this ? I want to integrate qr code scanner on my app. I want to install this package, but it is dependent of react-native-camera. Now react-native-camera is deprecated, I can't install it. Any idea how can I make this package work ?

ThePJMP commented 2 years ago

Any update on this ? I want to integrate qr code scanner on my app. I want to install this package, but it is dependent of react-native-camera. Now react-native-camera is deprecated, I can't install it. Any idea how can I make this package work ?

Just install the specific version of the package. yarn add react-native-camera@4.2.1

promit13 commented 2 years ago

@ThePJMP thanks buddy !

xulihang commented 2 years ago

Since react-native-camera is deprecated in favor of react-native-vision-camera, maybe we should turn to vision-camera and its frame processor plugins like vision-camera-dynamsoft-barcode-reader and vision-camera-code-scanner

TakaKeiji commented 2 years ago

Since react-native-camera is deprecated in favor of react-native-vision-camera, maybe we should turn to vision-camera and its frame processor plugins like vision-camera-dynamsoft-barcode-reader and vision-camera-code-scanner

But what if i want to support previous SDK 21 versions or iOS 10?

Heanphearak commented 2 years ago

@ThePJMP thanks buddy !

it work for you ?@promit13

jasonloeve commented 2 years ago

Not sure I want to use this package on a new build if its based on a deprecated package.

Has anyone found a good alternative ?

ArturoTorresMartinez commented 2 years ago

Since react-native-camera is deprecated in favor of react-native-vision-camera, maybe we should turn to vision-camera and its frame processor plugins like vision-camera-dynamsoft-barcode-reader and vision-camera-code-scanner

@jasonloeve Isn't this what you're looking for?

pushpender-singh-ap commented 2 years ago

Since react-native-camera is deprecated in favor of react-native-vision-camera, maybe we should turn to vision-camera and its frame processor plugins like vision-camera-dynamsoft-barcode-reader and vision-camera-code-scanner

But what if i want to support previous SDK 21 versions or iOS 10?

use older version of this package if you need to use SDK 21 or IOS 10.

moaazsidat commented 2 years ago

The appeal of this library has mostly been the plug and play nature with a default reasonable UI – I'll try and find time over the next few weeks to migrate over to react-native-vision-camera.

If you or your organization is using this library commercially, please consider Sponsoring / Donating

jasonloeve commented 2 years ago

Since react-native-camera is deprecated in favor of react-native-vision-camera, maybe we should turn to vision-camera and its frame processor plugins like vision-camera-dynamsoft-barcode-reader and vision-camera-code-scanner

@jasonloeve Isn't this what you're looking for?

Cheers, i made use of vision-camera-code-scanner which works perfectly.

pushpender-singh-ap commented 2 years ago

Since react-native-camera is deprecated in favor of react-native-vision-camera, maybe we should turn to vision-camera and its frame processor plugins like vision-camera-dynamsoft-barcode-reader and vision-camera-code-scanner

@jasonloeve Isn't this what you're looking for?

Cheers, i made use of vision-camera-code-scanner which works perfectly.

I will use this package tysm.

fukemy commented 2 years ago

camera not show now

moaazsidat commented 2 years ago

After looking at the alternatives, I don't think it's valuable continuing active development on this project. However, we'll still accept any patches as pull requests.

As mentioned above, it makes sense to use react-native-vision-camera with its plugin vision-camera-code-scanner.

If you have compelling reason why active development should continue, please put it down on this issue. If there are none, I'll put up a deprecation notice in the next few days.

Thanks to all contributors to this project 🙏

BraveEvidence commented 1 year ago

This will help you https://www.youtube.com/watch?v=sE0MEyFA7E4&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=10

joaolvcas commented 1 year ago

Someone have been tried change from React-native-camera to react-native-vision-camera? if it is possible.