[Aerogear-users] Anyone could help me for notification handling on iOS devices?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Aerogear-users] Anyone could help me for notification handling on iOS devices?

Federico Cerminara

Hi,
my name is Federico, I wrote some time ago for a crash scenario and tyou were very helpful. Hope I’ll be so lucky again. I’m still a beginner in cross platform app development and I am using aerogear cordova push plugin (together with Ionic 1 and Angular 1) to enable reception of push notification. Here follows my little trouble.

My customer asked me to modify, if possible, app behavior in push notification handling, especially on iOS devices. He’s explaining me he finds too many push notifications after a long period of inactivity (notification are sent by a backend job each hour) and that he would like the app to handle only the last one. I don’t know if it’s possible, working on client code, to ask my app to avoid to show a push if some others have already come without being effectively handled (if you think it’s possible and you could suggest me a way, I would appreciate it very much). The best solution I am able to image is to use the onNotification() function in my angular code to make another server call, just to tell the exact time oh push notification handling. It will be after a backend trouble to decide, known which users have received a push and when eventually the same users have handled it, if it will send them another notification.

Hope I have been clear describing my solution (and maybe it was not so important) but the main point is: can you tell me if there’s some useful approach (maybe using some configuration of server AAerogear) to avoid sending many push to the same user/client if he has not handled them? Or even, can you tell me if the user can handle one push for all, on a iOS device? (On Android devices I would have tried to manipulate java classes for PushHandlerActivity and NotificationMeassgeHandler). This could be very helpful for me.

I have you will have a nice weekend.
Federico


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Anyone could help me for notification handling on iOS devices?

jeff01
I think you may try to look for eventID - if you make it a constant, the ios
client should only receive the latest push message.



--
Sent from: http://aerogear-users.1116366.n5.nabble.com/
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Anyone could help me for notification handling on iOS devices?

Federico Cerminara
Where could I find it? In my Java code for sending push notification or in aerogear configuration tool?
Another way I was thinking about was to use the message content to send client a complex set of metadata, containing not only the message text, but eventually an id for the sent notification or even something else...

2017-09-27 17:34 GMT+02:00 jeff01 <[hidden email]>:
I think you may try to look for eventID - if you make it a constant, the ios
client should only receive the latest push message.



--
Sent from: http://aerogear-users.1116366.n5.nabble.com/
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Puoi trovarmi qui, se vuoi:
facebook, flickr, linkedin, twitter, anobii
Link consigliati: Piccoli Maestri, Il clima di Cipro

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Anyone could help me for notification handling on iOS devices?

Federico Cerminara
Anyway, thanks for the reply :-)

2017-09-27 18:31 GMT+02:00 Federico Cerminara <[hidden email]>:
Where could I find it? In my Java code for sending push notification or in aerogear configuration tool?
Another way I was thinking about was to use the message content to send client a complex set of metadata, containing not only the message text, but eventually an id for the sent notification or even something else...

2017-09-27 17:34 GMT+02:00 jeff01 <[hidden email]>:
I think you may try to look for eventID - if you make it a constant, the ios
client should only receive the latest push message.



--
Sent from: http://aerogear-users.1116366.n5.nabble.com/
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Puoi trovarmi qui, se vuoi:
facebook, flickr, linkedin, twitter, anobii
Link consigliati: Piccoli Maestri, Il clima di Cipro



--
Puoi trovarmi qui, se vuoi:
facebook, flickr, linkedin, twitter, anobii
Link consigliati: Piccoli Maestri, Il clima di Cipro

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Anyone could help me for notification handling on iOS devices?

jeff01
You are welcome.

Sorry I cannot remember it on top of my head now. You may start from the
native library code to support the push plugin used in your app.



--
Sent from: http://aerogear-users.1116366.n5.nabble.com/
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Anyone could help me for notification handling on iOS devices?

Federico Cerminara
Do not worry. I'll find it sooner or later :)

Il 28 Set 2017 19:00, "jeff01" <[hidden email]> ha scritto:
You are welcome.

Sorry I cannot remember it on top of my head now. You may start from the
native library code to support the push plugin used in your app.



--
Sent from: http://aerogear-users.1116366.n5.nabble.com/
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users