IOS push notification alert banners


#1

Guys,

Currently our push notification alerts are shown within the app using Alert pop ups which I think kills the whole user experience. I would like to use iOS alert banners while the app is in use. However this works fine when the app is in foreground. Is this possible or is it something planned in the roadmap?

Reference link: https://i.stack.imgur.com/nYODr.png

Cheers!


#2

Hi @pavanwelihinda - currently, it seems the best way to go about this is to actually just replicate this UI inside of your app using something like an absolutely positioned View. This was an OS-level restriction that iOS had for a long time (notifications were never shown for a foregrounded app). Starting in iOS 10 there’s limited support for this, but Expo does not yet support it, and I don’t believe it works with push notifications anyway.


closed #3

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