ideacreation / react-native-barcodescanner

A barcode scanner component for react native - not maintained anymore - use react-native-camera
MIT License
537 stars 162 forks source link

Can't start camera in second times #62

Open wv1124 opened 7 years ago

wv1124 commented 7 years ago

RN 0.34 first time is ok. seconds is blank. by the way, the system Camera is can't start.

Anuj-786 commented 7 years ago

hey, @wv1124 I faced this issues. And i measures that this is because when you starting the app without closing the same app that you opened firstly.

kingorange2309 commented 7 years ago

I also have this problem. it seems that it only happens at <Android 6.0. i tested with some phone , 2 Android 6.0 phones works well ,but one Android 5.1 and one Android 4.3 cant's open in second time

maxmoeschinger commented 7 years ago

I have the same problem. When i navigate to another view and back it either stays black or doesn't want to scan

jqn commented 7 years ago

Same problem here, in Android 6.0 the app crashes and anything below Android 6.0 the camera can't be opened for the second time.

porchdog commented 7 years ago

Same here in Android 7.0. Works the first time and then crashes the second time.

fabripeco commented 7 years ago

44 maybe related to

knapeto commented 7 years ago

Any solution?

Scimonster commented 7 years ago

I think #61 fixes this; we're all waiting for it to be merged. For now you can just use jiaminglu's fork.