EddyVerbruggen / nativescript-barcodescanner

🔎 NativeScript QR / barcode (bulk)scanner plugin
MIT License
293 stars 73 forks source link

options to avoid page reloading upon scanning #267

Open lospringliu opened 3 years ago

lospringliu commented 3 years ago

It turns out that on NS8, the scanning reloads the page

JS: on page unloaded
JS: scanner closed
JS: ==== object dump start ====
JS: format: "CODE_128"
JS: text: "X002I2VWA1"
JS: ==== object dump end ====
JS: on page loaded

Thus can not update the content in page, are there options to avoid page reload? showing an alert is fine

lospringliu commented 3 years ago

once scan finish on android, the counter returns default 42

image