javascript - Phonegap Built bar code scanner struggles on changed position of the camera -


i have phonegap app has been working great, until got nexus 5x. apparently google put camera in upside-down... scanning bar code becomes difficult...

for bar code scanner in config file have:

<gap:plugin name=" phonegap-plugin-barcodescanner" source="npm" /> 

i use below js code launch bar code scanner:

cordova.plugins.barcodescanner.scan( function (result) { var barcode = result.text;  //suggest how continue code bar code received.  }  ); 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -