zxing-android-embedded icon indicating copy to clipboard operation
zxing-android-embedded copied to clipboard

Getting ActivityNotFoundException : Using Zing lib in Android 9.0 (pie)

Open ruhamadavid opened this issue 5 years ago • 1 comments

Description of the problem:

Getting ActivityNotFoundException, when we are trying to scan barcode using device camera using Zing lib in Android 9.0 (pie). It's working fine in other versions such as Android 8(Oreo), 7(Naugat), 6(Marshmallow)

##Library version : zxing-android-embedded-3.6.0

**Issue in Samsung Galaxy M10S, Android 9)

**Does the same happen on other devices or an emulator? Yes, Issue in Android 9 (Pie)

Here is my ADB log, no activity found to handle intent { act=com.google.zxing.client.android.scan (has extras) }

ruhamadavid avatar Feb 06 '20 11:02 ruhamadavid

The com.google.zxing.client.android.scan Intent is not used by this library - that Intent launches the Barcode Scanner app, and will only work if it's installed.

Make sure you use this library according to the instructions in the readme.

rkistner avatar Feb 06 '20 12:02 rkistner