Friday, 23 August 2013

Unplugging usb device refreshes my app (Phonegap)

Unplugging usb device refreshes my app (Phonegap)

I built this Android app using phonegap (cordova) and whenever I plug in a
usb barcode reader the app seems to refresh itself and I loose all the
data I've entered into my fields. It also refreshes the app whenever I try
scanning a barcode too.
I'm building this for Android 4.2 and higher. Is there a way to prevent
this from happening?

No comments:

Post a Comment