osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

Not loading a shared GPX (Fitotrack) #20471

Open Iey4iej3 opened 2 months ago

Iey4iej3 commented 2 months ago

Description

When a GPX is shared from another APP, it does not seem to be properly imported.

Steps to reproduce

  1. Record a workout in FitoTrack.
  2. "Export as GPX-file", then "Share", and click OSMAnd.

Actual result

OSMAnd is open but the track is not imported.

Expected result

The GPX file is imported, and the track is shown.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.7.17 F-Droid
Android/iOS version: Android 14
Device model: -
Crash-Logs: ?
yuriiurshuliak commented 2 months ago

Unfortunately, we cannot be responsible for third-party GPX files. Currently, our import option works correctly. To assist you better, please provide the specific GPX file you are having problems with.

Iey4iej3 commented 2 months ago

Unfortunately, we cannot be responsible for third-party GPX files. Currently, our import option works correctly. To assist you better, please provide the specific GPX file you are having problems with.

It works if I export the GPX file and import in OsmAnd. The issue happens only when it is shared.

Not sure how Android works, but it's likely that the handling of shared objects does not treat GPX data correctly.