Comments (5)
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.
I take it as a "no"
I'll ping you if/when I implement it. Thanks for the suggestion!
from permission.
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.
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.
Changes included in v1.5
from permission.
Related Issues (20)
- "Permission" is ambiguous for type lookup in this context in Swift HOT 1
- Advice needed: Extend request callback with fixed action HOT 2
- Swift 4 Migration HOT 1
- UIUserNotifications Is Deprecated HOT 2
- Has this repo been abandoned? HOT 1
- Won't compile on Swift 4.2 HOT 5
- Still error on compiling in swift version 4.2 HOT 5
- support swift 5.0οΌ HOT 1
- Alerts are not showing up in iOS 13 HOT 1
- I don't know what happenedγγγγγγ HOT 7
- Delegate is never called HOT 1
- Support SPM HOT 2
- Saving Bluetooth permission status in UserDefaults leads to crash HOT 1
- .
- Bluetooth permission on IOS<13 HOT 1
- adapt iOS14 HOT 1
- Is this project deprecated?
- Changes from this commit #149 are not in 3.1.2 (last) pod version and on GitHub as well
- Location Permission on iOS 14 HOT 1
- Address
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from permission.