on-internet
← Community

Custom overlay when detecting device recording

Stack Overflow ·

I am trying to make a custom overlay for my application that will hide the screen if any screen share or unauthorized recording of my app is running. The problem is, that I am trying to avoid using FLAG_SECURE, because it doesn't allow me to add custom elements to inform the user that the screen is being recorded and show them what is going on. I have tried creating custom logic, and here is what I have achieved so far: I managed to create a custom detection using DisplayManager, to catch whether recording is active. However, I found a bypass that I cannot fix. If you start recording before en

Comments

Sign in or sign up to comment and upvote.

No comments yet.