No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Umar
    U
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Umar

    @Umar

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Umar Follow

    Latest posts made by Umar

    • Scanning failed: Class not found

      Did any one use Phonegap-plugin-barcodescanner,when i want read QR code i have problem “scanning failed:class not found”.
      There is my code

      <template>
            <q-btn color="primary" label="Scan QR code"
                   @click="scan()"></q-btn>
      </template>
      
      <script>
      export default {
        name: 'Index',
        methods: {
          scan () {
            cordova.plugins.barcodeScanner.scan(
            
                    function (result) {
            
                      alert('We got a barcode\n' +
            
                        'Result: ' + result.text + '\n' +
            
                        'Format: ' + result.format + '\n' +
            
                        'Cancelled: ' + result.cancelled)
            
                    },
            
                    function (error) {
            
                      alert('Scanning failed: ' + error)
            
                    }
            
                  )
      }
      </script>
      
      
      posted in Help
      U
      Umar