Avoid crash on Surface3
Avoid crash on Surface3

Looks like focusState property somehow is not accessible on Surface3. Since there is no other way to detect whether accessing property would cause a crash, the only chance to avoid it - wrap in try/catch and continue focusing it it threw

This fixes #288

sovanta/phonegap-plugin-barcodescanner-custom-ui,Keyoniq/phonegap-plugin-barcodescanner,sovanta/phonegap-plugin-barcodescanner-custom-ui,sovanta/phonegap-plugin-barcodescanner-custom-ui,Keyoniq/phonegap-plugin-barcodescanner,Keyoniq/phonegap-plugin-barcodescanner,sovanta/phonegap-plugin-barcodescanner-custom-ui,Keyoniq/phonegap-plugin-barcodescanner,sovanta/phonegap-plugin-barcodescanner-custom-ui,Keyoniq/phonegap-plugin-barcodescanner