Add scanOptions for QRCode light on dark background

This commit is contained in:
jacques 2022-02-09 11:57:31 +01:00
parent 94e625db26
commit b0dc51dd60

View file

@ -251,6 +251,7 @@ public class DrugListActivity extends AppCompatActivity {
//options.setTimeout(3600);
options.setCaptureActivity(CustomScannerActivity.class);
options.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.MIXED_SCAN);
options.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.INVERTED_SCAN);
barcodeLauncher.launch(options);
}