The way to do this in Android is
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE);
Is there a way to set this flag without ejecting?
Is it possible to have this functionality on iPhone too?
I cannot eject because I want to continue to use Expo’s push notifications.