Block screenshots and screen recording on Expo

#1

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.

#2

Hey @madhavanmalolan,

Unfortunately this won’t be possible without ejecting currently. I would recommend creating a feature request here: https://expo.canny.io/feature-requests

Cheers,

Adam

closed #3

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