Snack example from docs don’t work with notifications from expo API (sendPushNotification function in demo or Push notifications tool) but works with scheduleNotificationAsync.
What is the error in the demo?
Without setNotificationHandler and with SDK41 notifications don’t show when app in foreground, but with SDK40 it works.
I added setNotificationHandler and now it works for me.
P.S. It still doesn’t work in Snack for me. Regardless app is in foreground or background.