question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update location without remove data

See original GitHub issue

I have this:

"_id": {
   l: [],
   g: "ede45",
   username: "romuald",
   other: 5
}

If i call setLocation to update location, it will remove username and other.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
inromualdocommented, Mar 31, 2018

But why this listener GeoQueryDataEventListener? I store additional information in the same location as the geohashes and every thing work well. Now, i need to update the geohashes.

0reactions
NONOLGGcommented, Jun 13, 2020

This is the solution I adopted for this : You can generate the geHash from your code and set the value from the node directly in the firebase. GeoHash geoHash = new GeoHash(location); ref.child(“g”).setValue(geoHash.getGeoHashString()); ref.child(“l”).setValue(Arrays.asList(location.latitude, location.longitude));

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage your Location History - Google Account Help
Delete a stop from Location History · In your web browser, open your Google Maps Timeline. · Choose a year, month, and day...
Read more >
changing window.location without triggering refresh
This will update the current page URL with a new one without refreshing. Arguments: Data object (must be one that could be serialized...
Read more >
How to stop sharing location without them knowing - Tenorshare
Method 1: Funny Tip on How To Stop Sharing Location Without Them Knowing · Launch the software on your computer, select 'Change Location'....
Read more >
About privacy and Location Services in iOS and iPadOS
Learn how privacy settings and Location Services help protect your personal information on your iPhone, iPad, and iPod touch.
Read more >
How to Set, Change, or Clear Default Location for Windows 10 ...
How to Set, Change, or Clear Default Location for Windows 10 PC.The location data is used by various Windows services and third party...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found