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

App is slow on mobile devices with slow internet #59

Open
2 tasks
JesJehle opened this issue Apr 7, 2023 · 3 comments
Open
2 tasks

App is slow on mobile devices with slow internet #59

JesJehle opened this issue Apr 7, 2023 · 3 comments
Assignees

Comments

@JesJehle
Copy link
Collaborator

JesJehle commented Apr 7, 2023

  • Map Images load incomplete
  • Scrolling on Inventury list lags
  • Changing map lags

ToDos:

I would solve the following problems as a first shot:

@mmaelicke
Copy link
Member

  • Map Images load incomplete

There is nothing we can do about this, as this is the WMS being slow. A possible approach is to get the current speed from capacitor and treat the application as offline, if the connection gets too slow. Then we serve the inaccurate images from the offline storage

  • Scrolling on Inventury list lags

Ionic also has an infinite scroller. We can implement that, but that is a bit of work as we need pagination in the context. There is no easy fix for this.

@mmaelicke
Copy link
Member

capacitor's Network plugin can only report on the type of connection (wifi, cellular, none), but we can use something like this: https://github.com/branchard/fast-speedtest-api

Then, then offiline context could set itself offline when the internet connection speed drops too much.

@JesJehle
Copy link
Collaborator Author

Analyzing the application with lighthouse plugin shows poor results but some starting points for performance improvements.
@mmaelicke this is better addressed by you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants