Hi,
I am testing the example project along with the detox e2e. I can see that there is currently no test covering the usecase of 'background notifications' where content-available=1.
I have added a test where I try the following steps:
await device.sendToHome(); await device.sendUserNotification(createBackgroundNotification({link: 'background/notification/click3'})); await device.launchApp({newInstance: false});
with createBackgroundNotification() containing content-available=1.
However despite adding logs everywhere, I can see that the handler registerNotificationReceivedBackground is never fired.
Can you please advise how to e2e background notifications?
Thanks
Hi, I am testing the example project along with the detox e2e. I can see that there is currently no test covering the usecase of 'background notifications' where content-available=1.
I have added a test where I try the following steps:
await device.sendToHome(); await device.sendUserNotification(createBackgroundNotification({link: 'background/notification/click3'})); await device.launchApp({newInstance: false});
with createBackgroundNotification() containing
content-available=1
.However despite adding logs everywhere, I can see that the handler
registerNotificationReceivedBackground
is never fired.Can you please advise how to e2e background notifications? Thanks