Hello
@ThePlankton,
Firstly you should use the starter service to start another service that has the BroadcastReceiver code in it, you should not really place that code in a class, I wouldn't anyway
I currently specialise in distributing these little beauties to businesses that are in need of 1D or 2D barcode scanners, you should try placing your BroadcastReceiver code in a service (not the starter service), you shouldn't have any issues after that, and yes, I do have these other laser scanners running Android 8 also working perfectly fine.
Have you read this post???
Simple example of a foreground service that keeps the process running in the background. The current location is shown in the persistent notification. The app starts at boot and theoretically should run all the time. It also schedules itself to run with StartServiceAt. This can help in cases...
Enjoy...