Interacting with Login Window using third party screen share app

I'm currently developing a screen-sharing app and i followed this post to setup daemons & agents , and i am able to screen share succesfully.

In user-context , keyboard and mouse movements work fine;

But during the login screen (first login or all users logged out) , i can perfectly relay the screen , but the app is not able to interact with the login window . ie Mouse clicks/keyboard actions fail in the login window.

Is there a special configuration i'm missing to ensure the system trusts third party app for getting user inputs when logged out ?

Request your help on this

Attach LaunchAgents plist

I suspect you’re being hit by a known issue with the pre-login context (r. 5636091). Historically this only affected folks using event taps, and that’s how I documented it in the PreLoginAgents sample code. Search the sample’s read me for the bug number for the details.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi Eskimo , Thanks for your response

I can see this information from the linked Read Me file

CGEventTaps do not work by default in the pre-login environment <rdar://problem/5636091>.  If you need a workaround, please get in touch with DTS.
 
<https://developer.apple.com/support/technical/>

I'm not sure what is the correct link to view this issue. Also can you please help me with a workaround/solution for this ?

Thanks, Abhilash

To add more context about the app , the app is pure nodejs app developed using Electron - https://www.electronjs.org/ and RobotJs

> the app is pure nodejs app developed using Electron

That just makes the mechanics harder; it doesn’t change the fundamentals of this issue.

> I'm not sure what is the correct link to view this issue.

Apple’s bug system only lets you see bugs that you filed. The fact that rdar URLs don’t work externally is one of the reasons I switched to using the (r. 5636091) syntax. However, PreloginAgents pre-dates my change of heart.

For more info about bug reporting on our platforms, see Bug Reporting: How and Why?.

> Also can you please help me with a workaround/solution for this ?

Yes, in the context of a DTS tech support incident.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Interacting with Login Window using third party screen share app
 
 
Q