How do I trigger an application when I send a push notification?

First hi guys, I problem on iOS, onesignal push notification. When I send the notification that I want to do, trigger my application and retrieve data from the database. users are waiting to pull the data when opening the application, they have designed the application like this before. so the data taken takes a little longer. I want to bring background data when the notification reaches the phone. I tried to catch the didReceiveNotification function in AppDelegate.cs when I sent the notification to onesignal, but I could not catch it.

We can do it with the help of a service, without using the notification. I think about planning in a certain hour during the day. I have not been successful in my research, and I am new to this job.

I'm waiting for your help, thank you :)


Sign In or Register to comment.