I have a problem which I am explaining below:
I want to make an app that can keep scanning even when it is minimized. So I followed the git example BarcodeSample1 and modified the activity. I have attached the MainActivity (which I modified). Basically I removed the trigger and decoders block from it which I believe I do not need for now. All I need is that even if my app is minimised it can capture the scans.