Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
103.02k stars 10.01k forks source link

Accessing Android work-profile apps #4894

Open nikolas-digitalBabylon opened 2 weeks ago

nikolas-digitalBabylon commented 2 weeks ago

Environment

Describe the bug

Not a bug, but I would like to know if there is a way to be able to also control apps in my work profile. Current, I see the list of apps, I can click and start an app, but screen on PC turns black. Clearly it is a security configuration from android side. My question is, how can using the work profile apps via scrcpy be enabled?

Thank you.

c2bull commented 2 weeks ago

From what I've seen the black screen comes up when you have to type a pin on the phone itself, it's a security thing that you have to do that local on the device.

I just tested on my phone and once I enter the PIN to start the Work Profile app I can see it just fine in scrcpy...

nikolas-digitalBabylon commented 1 week ago

Yes, but still, after giving pin, screen is still black. Maybe it has something to do with screen-capture protection or other security feature?