Skip to content

Figure out how we can make the loading page more interactive #323

@amaury1093

Description

@amaury1093

Right now, the loading page with "cough..cough.." takes too much time: 70% of users have a waiting time of 6+s.

As a result, in the analytics, we see a lot of people backgrounding/refocusing the app, and some people drop even before reaching the home page.

Reason why it's so slow: the app needs to:

  1. Get GPS location from device (should be quite fast, though not always)
  2. Fetch reverse geolocation (aka get place name from GPS lat/lng)
  3. Fetch AQI data from WAQI (whose servers are, I suppose, in China).

This issue tracks 2 action items:

  • Solved by refactor: Fetch API before fetching reverse #329 Make the technical side faster. For example, right now we do 1->2->3 sequentially, but we should do 1->{2,3}, because 2 and 3 could run parallelly.
  • Think of some ways to make the waiting experience more enjoyable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-plannedNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions