BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
Other
13 stars 10 forks source link

App Extended Load Time #670

Closed ertjlane closed 1 year ago

ertjlane commented 2 years ago

Describe the bug An iphone user is experiencing extended loading times with the app.

Expected behavior The app logs in within 1-2 seconds at the very most.

Screenshots https://user-images.githubusercontent.com/104088715/180299547-02a28461-3e65-4df2-97d5-a0652df4a17e.MP4

Smartphone (please complete the following information):

jijopulikkottil commented 2 years ago

Could you provide a test user under same Group/Study? Are you experiencing any delay to load home page (Assess tab) when login (logout and login) ?

[In staging, we are also experiencing a delay but the login page flashes. let us investigate it.]

michaelmenon commented 2 years ago

We will update in 2-3 days

avaidyam commented 2 years ago

@jijopulikkottil @michaelmenon I’m closing this issue as a duplicate of #651 - let’s continue the conversation there.

jijopulikkottil commented 2 years ago

I reported this issue was due to script injection in #651. But it was not. So reopening this issue. The issue seems to be because of cache clearing. We are doing cache clearing on launching the app. We can do this cache clearing only when logout/login to fix the issue.

jijopulikkottil commented 2 years ago

The time taken by app is improved now. Code is pushed and staging pointed build 2022.8.9 will be available on test flight.

ertjlane commented 1 year ago

This issue does not seem to have re-appeared, and lamp-core-ios has been updated recently. As such, I'm going to close the issue unless it re-emerges.