Languages

Menu
Sites
Language
Managing app launch via push notifications

Hello, i am trying to manage the app launch via push notification on a Samsung Galaxy Watch Active 2. My intended effect would be: i launch an action=ALERT notification on the target device, the user see the notification, and if he taps "Open app" the app opens on a page depending on the appData field of the notification. I am following the procedure as described on https://developer.tizen.org/development/guides/.net-application/messaging/push, under the section "Receiving push notifications", but it's a bit unclear where should i get the request application control and check the reason for application launch. I tried doing it in the constructor of the first page, but the isGetted value is always false, even when i launch an action=LAUNCH notification. What would be the best way to address this issue? Thanks for you time!

Edited by: Tobia Apolloni on 04 Nov, 2019

Responses

5 Replies
Tizen .NET

Hi,
Regarding "getting the appcontrol request", you can check it in OnAppControlReceived(AppControlReceivedEventArgs)
The person in charge of Push API will check the behavior and guide you how to use it.
Thanks.

Tobia Apolloni

Thank you. I will wait this person's input for more details

Kamaljeet Chauhan

Hi,

To enable your application to use the push functionality , some prerequisites are required.

Given on the link : ~https://developer.tizen.org/development/guides/.net-application/messaging/push#security

I hope you have taken care of all the steps listed there. They are must to use the push service.

Tobia Apolloni

Yes, i did take care of that.

I receive push notifications on my devices, but i am asking for a way to start the app in different pages, depending on the notification tapped. Please refer to my first post for details

Kamaljeet Chauhan

Can you please elaborate more "but it's a bit unclear where should i get the request application control and check the reason for application launch." This line.