Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova problem with favico.js and browser #118

Open
magVarv opened this issue Mar 12, 2018 · 2 comments
Open

cordova problem with favico.js and browser #118

magVarv opened this issue Mar 12, 2018 · 2 comments

Comments

@magVarv
Copy link

magVarv commented Mar 12, 2018

After adding local notifications cordova plugin to our hybrid project , it also added cordova plugin badge. Both plugins work as expected(on devices android, ios), but when we serve on browser we get the following error :

Uncaught TypeError: cordova.plugins.notification.badge.Favico is not a constructor. 
plugins/cordova-plugin-badge/src/browser/BadgeProxy.js:19

BadgeProxy.js:19

exports.favico = new cordova.plugins.notification.badge.Favico({
    animation: 'none'
});

As a result, the UI appears broken and no interaction can be done.

@katzer
Copy link
Owner

katzer commented Nov 9, 2018

I don't receive this error. However for some reasons it won't change the icon anymore even if I try out other libs.

@seanyangsg
Copy link

we have encountered the same issue.
any updates for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants