-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with apps that block screenshots #36
Comments
You can disable it in Silence settings → Privacy → Screen security.
They probably modified the feature in the ROM, because on AOSP, even |
Since I added an entry in the FAQ, I'm closing. |
Now you can (on |
After Testing |
Very great, thanks for fixing! I now can finally see the password field for paypal on my phone with broken screen ❤️ |
I really enjoy using scrcpy. I think that it's a great product. Unfortunately I am having the black screen issue mentioned above on some specific apps. I am new to coding so I apologize. I was wondering if someone could explain more in details how you fixed the issue so that I can do it myself. |
The apps which remain black could not be mirrored with scrcpy (some drm prevent it to be captured). |
Thank you. Great app. |
@rom1v Do you know if an app is able to detect the case when an app such as The problem I have is that Furthermore, even if But even then, anybody could build (I know that it's always possible to take a photo of the phone with an ordinary camera, but I don't need to worry about that, I just need to prevent taking screenshots) |
I don't know. FWIW, I think that the users should always be able to take screenshots or videos of ther screen (it's their own device). It's ok that app developers provide a hint that some screen should not be captured by default, but device users should always have the possibility to easily bypass this setting. (I know that this is not the current trend from Google or others.) |
I am having the same issue again with some banking app, which prevents taking screenshots too. I am using android 12. Tried the latest dev branch. |
any update onhow to bypass that? some Bank app are black..even on v 1.23 |
It's not possible on Android >= 12. See #2129 |
Not since Android 12 #2129. |
You can bypass it by decompiling the APK, disabling FLAG_SECURE for the main view, and recompiling the APK back.
This approach has been tested on both RSA Authenticator and MS Athenticator apps running on Android 12. |
Addendum to @CoolSpot's comment for Duo Mobile From grepping I just commented out all of them and it worked like a charm. |
Hello, Rooted users can bypass Just tested it successfully. Thanks |
Root users may also use this fork which simply runs the scrcpy-server as the system user: #3049 (comment) |
Is there a non root version for some apps which do not run on rooted devices such as banking apps. Editing the banking app apk to remove the secure flag as suggested above does not seem advisable. |
In order to make a banking app work on a rooted device, you just have to add it to Magisk's DenyList. |
Apps such as Bitwarden and Silence block screenshots. Attemtping to take a screenshot on the device results in this error.
Using scrcpy, the app functions normally on the device, but scrcpy displays a black background with the status bar visible. No notification or log output indicates anything abnormal. The screenshot notifciation does not appear.
Strangely enough, LineageOS's built-in screen recording app captures these applications without problems. The device is not rooted.
Tested on a OnePlus 3T running LineageOS 15.1 20180305.
The text was updated successfully, but these errors were encountered: