Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Mobile App pages that access Location Services on Android devices are VERY VERY slow #51

Open
2 tasks
stanalyst opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working unverified This issue has not been verified yet

Comments

@stanalyst
Copy link

Describe the Issue in Detail

We just migrated our mobile app to Maui - and have noticed that any pages which access location services on the devices take MUCH MUCH longer to load now for Android than they used to. iOs devices seem unchanged.

We have the Live Experience Occurrences block on the home page of our app. For an Android device that has location services on - and set to allow while using - the home page takes between 3-6 seconds to load. If the same device is set to never share - then page loads almost instantly. Also - if the device is set to allow - but NOT precise location - then it loads faster too.

On iOs - the load time seems unaffected by the location settings.

We also use the Rock:GeoBoundaryView tag in a content block on another page - and that block also experiences long load times on Androids with location sharing-precise allowed.

Can reproduce in

  • Orange App
  • Blue App

Steps to Reproduce

  • put a block that uses location services on a mobile app page
  • access that page from an Android device that has location services NOT shared - and note load time
  • now access same page from device with location services shared (and set to precise) - and note load time

Expected Behavior

It should not take 3-6 seconds for loading just because location is used.

Actual Behavior

using location slows done loading terribly

Screenshots or Videos

Android-LocationShared&Precise -> https://github.com/user-attachments/assets/7f737fbe-43dd-424b-a6e9-c435b14935cf

Android-LocationNOTShared -> https://github.com/user-attachments/assets/e06166df-a62b-41cb-9fdf-2b29037ff728

iPhone-LocationShared&Precise -> https://github.com/user-attachments/assets/8cb7c031-f9da-4320-b4c5-e1c127d514b2

Reproduction XAML

Mobile Shell Version

1.7.0.3

Last Known Working Version

No response

iOS Device Type(s) and iOS Version(s)

n/a

Android Device Type(s) and Android Version(s)

Several different Samsungs and a Pixel 8

@stanalyst stanalyst added bug Something isn't working unverified This issue has not been verified yet labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue has not been verified yet
Projects
None yet
Development

No branches or pull requests

1 participant