Skip to content

onmyway133/Dust

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dust

❤️ Support my app ❤️

❤️❤️😇😍🤘❤️❤️

Unofficial, simple push notification

CI Status Version Carthage Compatible License Platform

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

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. To install it, simply add the following line to your Podfile:

pod 'Dust'

Dust is also available through Carthage. To install just write into your Cartfile:

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 file for more info.

License

Dust is available under the MIT license. See the LICENSE file for more info.