Is there a view/element/something that can be utilized in a single place in a react native app that might be positioned above all of the content material – I want it for toast element. I attempted utilizing Portals, Root Siblings, Modals and many others. however nothing goes above the display screen that has presentation: “modal” on iOS.
I particularly need to hold presentation: “modal” for some screens and I want toast messages to be out there there. I do know I may render couple of cases of toast element together with these screens with presentation: “modal”, however I’m searching for one thing international – that might be above all of the content material it doesn’t matter what.
I do know it’s doable as a result of I’ve seen apps like WhatsApp have it (the toast message is actually floating above every thing as a result of irrespective of the place you go it persists there, even in case you go on screens with presentation: “modal). In fact they use native views like UIWindow with windowLevel (.alert or above) however I used to be questioning does something like that exist in react native/expo ecosystem?
If not, how come has nobody come to an concept to create an expo module for instance that exposes that overlaying view – it will be helpful for toasts, modals, sheets, portals and many others… (I used to be fascinated by attempting to try this myself, however Im unsure how doable that might be for me contemplating my talent degree and the quantity of free time)