Code Monkey home page Code Monkey logo

Comments (5)

delba avatar delba commented on July 24, 2024

It's currently not possible. The notifications permission is considered .Authorized if any notification type is granted.

It's not on the roadmap either but I would happily accept a PR that implements it nicely. Do you feel like doing it?

from permission.

delba avatar delba commented on July 24, 2024

I take it as a "no" πŸ˜ƒ

I'll ping you if/when I implement it. Thanks for the suggestion!

from permission.

mathiasgithub avatar mathiasgithub commented on July 24, 2024

Sorry for late answer!

I'll take a look at it, but I'm not sure if I can fit it in the schedule
unfortunately

I appreciate the work you do!

2016-04-22 5:51 GMT+02:00 Damien [email protected]:

I take it as a "no" πŸ˜ƒ

I'll ping you if/when I implement it. Thanks for the suggestion!

β€”
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#23 (comment)

from permission.

delba avatar delba commented on July 24, 2024

Hi @mathiasgithub,

I added additional granularity for notification types in 25ff830 and I'd be interested in hearing your thoughts.

By default, the types are [.Badge, .Sound, .Alert] and the categories are nil:

let notifications: Permission = .Notifications

And you can also specify the types and categories:

let notifications: Permission = .Notifications(types: [.Alert], categories: nil)

from permission.

delba avatar delba commented on July 24, 2024

Changes included in v1.5

from permission.

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.