Trigger an API call when a push-notification is received in iOS app and its state is closed

1k views Asked by At

Working on a solution When a push notificaiton is received in iOS, the client app should acknowledge the server that the message is delivered. To achieve this i should call an acknowledge API when a notification is received in iOS app so when the app state is closed, but not in background/active. Need to know which method is triggered and how could i call the API without opening the app. I'm using background mode as well.

Able to call the API for active/background state but not inactive.

Please help me out.

0

There are 0 answers