TAMUSHPE / MobileApp

TAMUSHPE Mobile App
MIT License
9 stars 0 forks source link

Event sign in/out high runtime #298

Closed JasonIsAzn closed 3 months ago

JasonIsAzn commented 4 months ago

Overview

Event sign in/out loading time takes about 10-15 seconds. This needs to be a most 5 seconds.

Task

Additional

sign in/out use to be extremely fast, but during development in the past few weeks have caused a high runtime.

JasonIsAzn commented 4 months ago

the bottleneck for this function is cased by getting user's location we can either

  1. decrease accuracy causing the location percision to be +/- 100meter, which seems like a very bad since radius to cover a building most of the time is less than 100 memters.
  2. force users to scan QRCode using app's qrcode scanner so that we can get their location before they scan
  3. warn officers to use geolocation sparingly and add message to user UI to make it clear that they have to wait 10-15 seconds
LucientZ commented 4 months ago

Do we have any profiling stats?