Giter Site home page Giter Site logo

Comments (8)

dminkovsky avatar dminkovsky commented on April 28, 2024 2

This looks promising: https://github.com/katzer/cordova-plugin-badge

Haven't tried it yet, but intend to.

from capacitor-plugins.

christian-forgacs avatar christian-forgacs commented on April 28, 2024 1

Any update for this feature request..? Because if anybody remove a notification from notification center the badge count will not update with Badge.set from Badge plugin because it isn't in foreground and a background task for this is not optimal.

Alternatively please add a new event for Local Notification Plugin if an notification is removed so we can listen on it on an background task.

from capacitor-plugins.

pivko420 avatar pivko420 commented on April 28, 2024 1

If anyone is still looking for solution, take a look at this plugin: https://github.com/capawesome-team/capacitor-plugins/tree/main/packages/badge

from capacitor-plugins.

scriptPilot avatar scriptPilot commented on April 28, 2024

Is there any workaround with the current LocalNotifications plugin?

from capacitor-plugins.

rossholdway avatar rossholdway commented on April 28, 2024

Unfortunately not that I can see from the Capacitor local notifications docs

from capacitor-plugins.

scriptPilot avatar scriptPilot commented on April 28, 2024

@rossholdway - Did you find another solution? I did not find proper documentation how to use the Cordova plugins unfortunately ... (see ionic-team/capacitor#2195).

from capacitor-plugins.

rossholdway avatar rossholdway commented on April 28, 2024

@scriptPilot No, sorry haven't found another way to do this currently.

from capacitor-plugins.

nelsonjimartinez avatar nelsonjimartinez commented on April 28, 2024

Los problemas etiquetados con solicitud de función se cierran, pero se realiza un seguimiento de las reacciones para medir el interés.

Tenga en cuenta que esto no es compatible oficialmente con Android. Solo es posible en unos pocos proveedores. Hay una biblioteca de terceros para manejar los llamados shortcutBadger y no planeamos agregar esa dependencia solo para esta función, así que creo que encaja mejor en un complemento de terceros

https://developer.android.com/training/notify-user/badges

from capacitor-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.