EddyVerbruggen / nativescript-barcodescanner

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

Question: Can I use it in phonegap project? #94

Closed vousys closed 7 years ago

vousys commented 7 years ago

Hi How can I add it to my config.xml? because I tried adding this line, but I can't do it work.

   <gap:plugin name="nativescript-barcodescanner"      source="npm" >
      <variable name="NSCameraUsageDescription" value="La aplicacion requiere el permiso para tomar fotografias." />
      <variable name="CAMERA_USAGE_DESCRIPTION" value="La aplicacion requiere el permiso para tomar fotografias." />
      <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="La aplicacion requiere el permiso para acceder a la lista de fotografias." />
    </gap:plugin>
EddyVerbruggen commented 7 years ago

Brave attempt, but you should really use https://github.com/phonegap/phonegap-plugin-barcodescanner