Today we are announcing the first beta release of our 1.0.0 version. After the big overhaul, including a brand new AdminUI with the last release this release contains several enhancements:
- iOS8 interactive notification support
- increased APNs payload (2k)
- Pagination for analytics
- improved callback for details on actual push delivery
- optimisations and improvements
The complete list of included items are avialble on our JIRA instance.
Besides the work on the server, we have updated our Java and Node.js sender libraries to support the new iOS8 interactive notification message format.
If you curious about iOS8 notifications, Corinne Krych has a detailed blog post on it and how to use it with the AeroGear UnifiedPush Server.
On the iOS client side Corinne Krych and Christos Vasilakis were also busy starting some Swift work: our iOS registration SDK supports swift on this branch. To give you an idea how it looks, here is some code:
func application(application: UIApplication!, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData!) {
// setup registration
let registration =
AGDeviceRegistration(serverURL: NSURL(string: "<# URL of the running AeroGear UnifiedPush Server #>"))
// attemp to register
registration.registerWithClientInfo({ (clientInfo: AGClientDeviceInformation!) in
// setup configuration
clientInfo.deviceToken = deviceToken
clientInfo.variantID = "<# Variant Id #>"
clientInfo.variantSecret = "<# Variant Secret #>"
// apply the token, to identify THIS device
let currentDevice = UIDevice()
// --optional config--
// set some 'useful' hardware information params
clientInfo.operatingSystem = currentDevice.systemName
clientInfo.osVersion = currentDevice.systemVersion
clientInfo.deviceType = currentDevice.model
},
success: {
println("UnifiedPush Server registration succeeded")
},
failure: {(error: NSError!) in
println("failed to register, error: \(error.description)")
})
}
To get easily started using the UnifiedPush Server we have a bunch of demos, supporting various client platforms:
- Android
- Apache Cordova (with jQuery and Angular/Ionic)
- iOS
The simple HelloWorld examples are located here. Some more advanced examples, including a Picketlink secured JAX-RS application, as well as a Fabric8 based Proxy, are available here.
For those of you who that are into Swift, there Swift branches for these demos as well:
- https://github.com/aerogear/aerogear-push-helloworld/tree/swift/ios-swift
- https://github.com/cvasilak/aerogear-push-quickstarts/tree/swift
We hope you enjoy the bits and we do appreciate your feedback! Swing by on our mailing list! We are looking forward to hear from you!
s/supports swift/supports Swift/
s/For those that /For those of you who /