Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Firefox Add-on: init event is not emitted #61

@vmangelovv

Description

@vmangelovv

Describe the bug
On Firefox the function onInit is running the real initialization is not happening.
I think this is bug to work out.
This is my ex.:

<qrcode-stream @decode="onDecode" @init="onInit">

and the init func:

onInit (promise) {
promise.then(() => {
/* ... */
}).catch(error => {
console.log(error)
})
}

I tried init() and init($event) but don't work

2 libraries have been used to fix the problem, but unsuccessfully.

First

Second

P.S. In chrome works perfectly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Account menu
  2. Click on Create a vault for AirGap
  3. Next
  4. Link vault

Expected behavior
The browser should open new page, so the user can allow or deny camera permission. In Firefox this is not happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions