Device locator creating unexpected JSON (scanData) resulting in hook-error

I am using google-maps-device-locator library in my project. I have been working on it for over a month and the integration was working absolutely fine. Today, after some more coding, unexpectedly the scanData log for the library is showing me this:


The last {“m”:“c8:3a:35:d7:e5:b8”,“s”:-79,“c”:11 is extra and I don’t know why it is being added. The value should have ended before that with the closing ]}} braces.

The expected data should have been:
(checked by creating an event on the console)

Anybody have any idea so as to why this might be happening?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.