Using NFC after using the barcodescanner

Please provide the following:

  1. SDK Version: 46
  2. Platforms(Android/iOS/web/all): Android 12

I am using the barcodescanner in my app to simply scan codes and put the content within an textinput.
Works perfectly.
I’m enabeling the camera by setting a a state (isCamera) true or false. If true show <Barcodescanner … /> if false do nothing.

Now I also want to be able to use NFC tags in my app. It also works perfectly on its own without.

No my Problem is if I use the barcodescanner to fill one textinput then nfc stops working for the entire app. Nomater if I navigate to a different Screen or not.

I also postet an example of my code on stackoverflow

I now that this is as of right now a andoird 12 only problem. Since nfc is disabled while the camera is active.

Can anyone help me with this?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.