Skip to content

Does not work on real devices unless IP is set to Device running DevTools #13

@ShoeBoom

Description

@ShoeBoom

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions