Posts: 7
Threads: 2
Joined: Jan 2025
Reputation:
0
Connect Companion to local Mobile Sheet
I'm using MobS and Companion on the samedi PC.
Could you please autorize local connections?
Posts: 985
Threads: 86
Joined: Feb 2017
Reputation:
29
Mike doesn't need to authorize local connections - the companion and mobilesheets already contain the code to work.
On your "tablet"
1) Display any MS screen e.g. Collections
2) 3 vertical dots (top right corner)
3) Connect To Companion
On your "pc"
4) Run the companion program
5) It should detect a connection request from the tablet
6) Select the displayed connection request.
If a connection request isn't shown then that could be because your firewall is blocking the packets.
Geoff
Samsung Galaxy Tab A6
Posts: 14,185
Threads: 302
Joined: Apr 2012
Reputation:
267
You cannot run the companion app on the same machine as the one running MobileSheets if you want to connect them. This is not something I can just "authorize". It's a limitation put in place by Microsoft for UWP applications as they viewed loopback connections (where one app on a device connects to another app on that device) as a security vulnerability. The only way for me to overcome this limitation is to switch frameworks entirely. My long term plan is to switch from using UWP to Avalonia UI, but this is going to come with many headaches, and functionality will be lost in the process. I also currently have issues with some third party libraries. For example, the PDF library I rely on heavily for certain features only has a UWP version for Windows at the moment.
Mike