VarunS2002 / Xposed-Disable-FLAG_SECURE

Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.
GNU General Public License v3.0
438 stars 27 forks source link

Not working for Snapchat #7

Closed tomjschwanke closed 3 years ago

tomjschwanke commented 3 years ago

As of the latest updates, Snapchat sets FLAG_SECURE upon exiting to multitasking, thus preventing secret screenshots from launcher screenshot features. LSPosed and this module with Systemframework, Snapchat and the Launcher selected as scope isn't able to bypass this.

VarunS2002 commented 3 years ago

@tomjschwanke Yes I noticed this and Snap is not the only app, even Google Camera does the same thing recently. However, it doesn't look like they are using FLAG_SECURE since there are many methods of changing the image on the overview screen. If they are using any other Android flag then it might be possible to override using a different Xposed module. If they are using any native solution then it could be complicated to handle.

tomjschwanke commented 3 years ago

@VarunS2002 Hmm I was thinking it's FLAG_SECURE since the launcher says "this app or your organization does not allow screenshots in this app", which is the same as FLASH_SECURE

VarunS2002 commented 3 years ago

@tomjschwanke Oh really? Try enabling the module for the launcher too.

tomjschwanke commented 3 years ago

@VarunS2002 that's what I did but it didn't help

VarunS2002 commented 3 years ago

@tomjschwanke Well that's unfortunate. Try opening an issue here too. I don't have the time to work on this right now and I also don't have Snap.

VarunS2002 commented 3 years ago

@tomjschwanke Which launcher do you use? And can you share the Xposed log here too.

VarunS2002 commented 3 years ago

@VarunS2002 Hmm I was thinking it's FLAG_SECURE since the launcher says "this app or your organization does not allow screenshots in this app", which is the same as FLASH_SECURE

@tomjschwanke
I had this tested through a proxy but Snap allows to take a screenshot from the overview, it's just black (which is something I cannot handle as I told earlier) My test:

flag_secure snapchat