Akaflieg-Freiburg / enroute

A free navigation app for VFR pilots
https://akaflieg-freiburg.github.io/enroute/
GNU General Public License v3.0
111 stars 28 forks source link

Importing waypoints from Google Maps seemingly leads to crash #375

Closed kebekus closed 8 months ago

kebekus commented 9 months ago

Describe the bug

Enroute crashes on Android when trying to accept a waypoint share from Google Maps.

To Reproduce

Steps to reproduce the behavior:

  1. Open Enroute
  2. Open Google Maps
  3. Select a waypoint, and share it with Enroute
  4. Crash

Expected behavior

Expect to see the waypoint description dialog.

kebekus commented 9 months ago

I investigated the issue:

Intent { act=android.intent.action.SEND typ=text/plain flg=0x10400000 cmp=de.akaflieg_freiburg.enroute/.MobileAdaptor clip={text/plain {T(41)}} (has extras) }

Things to do next:

  1. Get rid of the crash
  2. Accept text data, and properly parse the shortened URL provided by Google
  3. Understand "geo:xxx" URLs and check if they can be used in the present context
  4. Understand how things work on macOS
  5. Understand how things work on iOS
kebekus commented 9 months ago

Fixed in current development version of EFN.

kebekus commented 8 months ago

Fixed in 2.30.8, which is released today.