Currently to test on a physical device we need to change the IP, this is not ideal in a collaborative environment
useSyncQueriesExternal({
queryClient,
socketURL: "http://192.xxx.xx.xxx:42831",
deviceName: Platform?.OS || "web",
platform: Platform?.OS || "web",
deviceId: Platform?.OS || "web",
extraDeviceInfo: {
appVersion: "1.0.0",
},
enableLogs: false,
});
Would it be possible to perhaps do a port scan for 42831 over local network? There would be some security issues but maybe we could add a confirmation on the device with a key that's saved to DevTools?
I would be open to helping on this, unless it's already in the works