Skip to content

Manohar socket location#34

Open
ManoharGolleru wants to merge 6 commits intogbishop:mainfrom
ManoharGolleru:Manohar_socket_location
Open

Manohar socket location#34
ManoharGolleru wants to merge 6 commits intogbishop:mainfrom
ManoharGolleru:Manohar_socket_location

Conversation

@ManoharGolleru
Copy link
Contributor

Changed the behavior of the socket's lazy subscription,
Added another component to track location of the device through browser based gps
you can start and stop the location tracking through $locationTracking state, just set it to true/1 or false/0 to start and stop.

Immediate connect via an upfront subscription to kick off the handshake instantly.
5 s auto-reconnect on both errors and clean closes, so if the server goes down and comes back up OS-DPI should be able to auto connect back to it without the need to refresh the page
Gives location of the device- browser based
location tracker
location tracker added
location tracker added
@gbishop
Copy link
Owner

gbishop commented Aug 26, 2025

Did you eliminate the ability to fetch an image over the socket? No longer needed on your end? I think it was added at your request.

@gbishop
Copy link
Owner

gbishop commented Aug 26, 2025

In socketHandler.js I notice that retryWhen and repeatWhen are deprecated.
On line 127, I see that destroy is not defined on Handler.

@gbishop
Copy link
Owner

gbishop commented Aug 26, 2025

In components/actions.js Globals.locationTracker is not defined.

@gbishop
Copy link
Owner

gbishop commented Aug 26, 2025

In actions.js you deleted the merge method?

@gbishop
Copy link
Owner

gbishop commented Aug 26, 2025

In components/locationTracker.js 154 to 156 the parameters should be strings.

@gbishop
Copy link
Owner

gbishop commented Aug 26, 2025

In start.js I see there are references to Globals.method but it should be methods. Maybe you based this pull request on an earlier version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments