How to switch to an overlay of a react-native app in appium?

Can anyone please help me telling how to switch to an overlay in appium ?
I have tried using alert() but it’s not working for me.
Actually the focus is not getting moved to only one of the overlay of the app whereas for other overlays the focus is getting moved to the overlay automatically.
Could you please help me telling how can we switch to an overlay of react-native app explicitly ?
Attaching the screen shot of the overlay of my appVerify Phone Number Overlay

Hi @Nikita3004, I met same issue. Have you found a solution in the end?