https://github.com/onmyway133/dust
:rocket: Unofficial, simple push notification
https://github.com/onmyway133/dust
amazon firebase ios onesignal parse push-notifications swift
Last synced: 2 months ago
JSON representation
:rocket: Unofficial, simple push notification
- Host: GitHub
- URL: https://github.com/onmyway133/dust
- Owner: onmyway133
- License: other
- Created: 2016-08-24T22:01:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T07:37:18.000Z (about 6 years ago)
- Last Synced: 2025-03-30T22:14:28.427Z (over 1 year ago)
- Topics: amazon, firebase, ios, onesignal, parse, push-notifications, swift
- Language: Swift
- Homepage: https://onmyway133.github.io/
- Size: 412 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dust
❤️ Support my app ❤️
- [Push Hero - pure Swift native macOS application to test push notifications](https://www.producthunt.com/posts/push-hero-2)
- [PastePal - Pasteboard, note and shortcut manager](https://www.producthunt.com/posts/pastepal)
- [Frame recorder - Recorder gif and video with frame](https://www.producthunt.com/posts/frame-recorder)
- [Alias - App and file shortcut manager](https://www.producthunt.com/posts/alias-shortcut-manager)
- [Other apps](https://onmyway133.github.io/projects/)
❤️❤️😇😍🤘❤️❤️
Unofficial, simple push notification
[](https://travis-ci.org/onmyway133/Dust)
[](http://cocoadocs.org/docsets/Dust)
[](https://github.com/Carthage/Carthage)
[](http://cocoadocs.org/docsets/Dust)
[](http://cocoadocs.org/docsets/Dust)

The official SDKs can do many things
- Register device token. This is crucial for the notification to get from `your backend -> APNS -> device`
- Manage player id, user id, arn, ...This is used to associate with device token
- Manager tag, topic, subscription, segments, ...This is used to group a set of device tokens
- Do swizzling, update your application badge number, change your user notification settings, ... without your knowing about that
- Some other fancy stuffs
`Dust` does only one thing, which is push notification handling. The rest is under your control
### OneSignal
```swift
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool {
OneSignal.appID = ""
}
func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
OneSignal.handleDeviceToken(deviceToken)
}
```
### Urban Airship
### Amazon SNS
### Firebase Notifications
## Installation
**Dust** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'Dust'
```
**Dust** is also available through [Carthage](https://github.com/Carthage/Carthage).
To install just write into your Cartfile:
```ruby
github "onmyway133/Dust"
```
**Dust** can also be installed manually. Just download and drop `Sources` folders in your project.
## Author
Khoa Pham, onmyway133@gmail.com
## Contributing
We would love you to contribute to **Dust**, check the [CONTRIBUTING](https://github.com/onmyway133/Dust/blob/master/CONTRIBUTING.md) file for more info.
## License
**Dust** is available under the MIT license. See the [LICENSE](https://github.com/onmyway133/Dust/blob/master/LICENSE.md) file for more info.