5
Views
2
Comments
[OneSignal Demo] Trigger callback client action on silent notification
Question
onesignal-demo
Mobile icon
Forge asset by Miguel Verdasca
Application Type
Mobile

Hi,
We want to implement background data update in our iOS application. In native applications it is possible to receive silent notification and have callback function to perform data fetch and local data update.
Is it possible to achieve this functionality ?

Thank you

2023-02-09 07-41-26
Aashish Kumar Gupta

Hello @Mykola (Nick) Tkachenko,


Configure OneSignal to send notifications with content-available: 1. Write custom JavaScript or native code to handle the silent notifications and perform background data updates. Ensure thorough testing on real devices to verify background functionality.

Thanks.

2021-05-05 13-05-18
Mykola (Nick) Tkachenko

Write custom JavaScript or native code to handle the silent notifications and perform background data updates

Do you have an example of iOS code? like this example https://developer.apple.com/videos/play/wwdc2020/10095/?time=452
My doubt is how to trigger OutSystems client action.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.