A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

How to add push notification to top of the screen!

Hello, I want to add functionality that does this:

When the user gets a push notification within the app, it appears at the top of the screen, the same way as when they receive a push notification when the app is not open.

How do I change the location of the alert banner?

Thanks!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to add push notification to top of the screen!

Hello,

You can write any your custom logic on "Push notification" event. E.g. open dialog and show a push message there.
You can read a push message on "Push notification" event from the variable data.aps.alert

Return to “Issues”