Git Product home page Git Product logo

Comments (9)

Swamp2k9 avatar Swamp2k9 commented on June 12, 2024 1

Hi!

Yes, I'm on iOS. Apologies for me not mentioning my device.

If the app is closed, then I wouldn't want it to track my location. When the app is reopened, it could have my previous travel history available.

Go Map!! has this functionality atm. I use it to add new POIs. (loving your UI btw - You have me adding store hours and websites for local businesses 😎).

A quick side-note: Whenever I add hotels/motels in OSM, will Organic Maps automatically generate a Kayak.com link, or would I have to add additional information to the POIs?

from organicmaps.

biodranik avatar biodranik commented on June 12, 2024

You're speaking about iOS, right? Are you sure that there is a way to record track without an app running in the background? Are you aware of such apps on iOS?

from organicmaps.

biodranik avatar biodranik commented on June 12, 2024

The recent track should not be cleared when you restart OM. It should stay there. That is strange. Does it always reproduce? Anything specific that you're doing? How are you killing the app?

from organicmaps.

Swamp2k9 avatar Swamp2k9 commented on June 12, 2024

The recent track has been disappearing for me for quite some time. I was starting to think that it was meant to operate that way.

I'm killing the app by swiping up. Here's a video comparing Organic Maps and Go Map!!

from organicmaps.

biodranik avatar biodranik commented on June 12, 2024

That is definitely a bug. The recent track is not cleared on my device (and it shouldn't). Looks like the app can't save the track file for some reason (or it is corrupted and can't be loaded back on restart) and only draws it from memory. Can you please export/backup all your bookmarks and tracks, delete OM, and reinstall it back again, and tell us if it helps?

@kirylkaveryn @dvdmrtnz @fabwu @rtsisyk did you observe a track disappearance on your devices?

from organicmaps.

Swamp2k9 avatar Swamp2k9 commented on June 12, 2024

Hi!

I've followed your instructions and now it's working fine.

Cheers for your help! 🥳

from organicmaps.

biodranik avatar biodranik commented on June 12, 2024

Good. We still don't know why that issue appeared. You didn't manipulate with OM files using File Sharing, right?

from organicmaps.

Swamp2k9 avatar Swamp2k9 commented on June 12, 2024

No. I haven't done any file-sharing. I forgot to mention that I'm using the Test Flight version am I've been using the iOS public beta versions.

from organicmaps.

biodranik avatar biodranik commented on June 12, 2024

@rtsisyk @kavikhalique Maybe the same issue can be reproduced on Android when testing the recent track implementation #8214

The current C++ implementation should be investigated to understand the reason. Hypothesis:

  1. The file is corrupted when it is written (e.g. only a portion of data is saved) for some reason.
  2. The file-loading code is not robust enough and fails in some cases.

Even if a file with recent track data is corrupted for whatever reason, the loading code should detect it and trim either only the unreadable data or trim the whole file, to allow saving the recent track in all subsequent sessions.

Of course, the saving code should be fixed to be written in a way that always provides a guarantee that the data was written/stored properly.

from organicmaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.