journeyapps / zxing-android-embedded

Barcode scanner library for Android, based on the ZXing decoder
https://journeyapps.com/
Apache License 2.0
5.78k stars 1.27k forks source link

Can't see MoreExtras passed via ScanOptions inside registerForActivityResult #735

Open raucascrokkia opened 1 year ago

raucascrokkia commented 1 year ago

Description of the problem:

I just need to pass some extra values by ScanOption "addExtra" function, but then i can't see them in the originalIntent object, when registerForActivityResult function is called.

Which library version are you using? 4.3.0

Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5, Android 5.0) Emulating Pixel3a API 21

Does the same happen on other devices or an emulator? Emulator

Can you reproduce the issue in the sample project included with the library? Yes

In the case of an error do you have a stack trace or adb logs? No error is thrown

budo385 commented 1 year ago

+1