techmatters / terraso-mobile-client

A React Native project for Terraso’s LandPKS mobile application.
https://landpks.terraso.org
GNU Affero General Public License v3.0
2 stars 0 forks source link

on Android, user can't see own location on first load of map #1780

Open DerekCaelin opened 1 month ago

DerekCaelin commented 1 month ago

App Version

169

Account

No response

Platforms

Description

First-time Android users can't see their own position on the map, and the "my location" button fails silently. Reloading the app once permissions have been granted allows the map to see the user's location.

Steps to Reproduce

On Android:

  1. Uninstall, reinstall and open app
  2. Pass through interstitial
  3. Sign in with any identity
  4. Open home screen and accept permissions request
  5. See issue (fails to pan/zoom to your location)
  6. Tap "my location" button
  7. See issue

Expected behavior

The map will know and center on the user's location Tapping on "My location" button will center the map on the user's location

Actual behavior

The user provides permission, but no point representing the user appears on the map, and the "my location" button does nothing.

Additional context

DerekCaelin commented 1 month ago

Possibly related to https://github.com/techmatters/terraso-mobile-client/issues/1749

DerekCaelin commented 1 month ago

Assigning to Garo since they have dealt with permissions issues and are looking at related task #1806