Sarina DuPoint from Embarcadero has a blog post up with a new way to utilize the cloud based push notifications that ship with Delphi XE6 Firemonkey. Kinvey, the cloud provider, has functionality called Push Triggers. The difference between local notifications and push notifications is that your application doesn’t have to be running for push notifications to be received and popup in the notification section. Push Triggers are push notifications that happen based on user interaction with your data. The example application used is the Todo List demo which ships with Delphi. If multiple people are using the Todo List application and one of the people makes a change to the Todo List the rest of the users receive a push notification telling them about the update via the Push Triggers functionality. One other interesting thing you see in this demo is that changes are made to the Todo list on Windows and the notifications are received on Android. It just goes to show the power of the cross platform capabilities available in Delphi XE5/XE6. The triggers have the option for setting up a query for the recipients of the push notifications and for setting up a template on the display of the messages themselves. There is a second blog post from earlier in the month with a little more information about push notifications using these components. Apparently, only Kinvey supports push notifications via the components on both Android and IOS while Parse supports them on Android.
3 Comments