how to display notifications when app is foregrounded in ios?

I am using expo notifications. notifications appear very well on android when app is put in the foreground or put in the background.

but it does not appear when app is foreground on iOS. knowing that I added this command in app.json:

“notification”: { “iosDisplayInForeground”: true }
so how could we solve this problem?

1 Like


Maybe this thread will help you:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.