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

[Bug Report] LateInitializationError when opening app for the first time #1664

Closed
literalEval opened this issue Mar 14, 2023 · 3 comments · Fixed by #1676
Closed

[Bug Report] LateInitializationError when opening app for the first time #1664

literalEval opened this issue Mar 14, 2023 · 3 comments · Fixed by #1676
Assignees
Labels
bug Something isn't working

Comments

@literalEval
Copy link
Member

literalEval commented Mar 14, 2023

Describe the bug
LateInitializationError when opening the app for the first time. Possibly because the app is trying to fetch data but the org URL is not set till then.

To Reproduce
Steps to reproduce the behavior:

  1. Uninstall Talawa
  2. Install cleanly
  3. Check terminal

Expected behavior
The app should not fetch data when never logged in.

Actual behavior
App fetches data even though never logged in.

Screenshots
Screenshot_20230314_204147

@literalEval literalEval added the bug Something isn't working label Mar 14, 2023
@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Mar 14, 2023
@literalEval literalEval changed the title Bug Report [Bug Report] LateInitializationError when opening app for the first time Mar 14, 2023
@noman2002
Copy link
Member

Thanks for pointing out, I have also faced this.

@literalEval
Copy link
Member Author

literalEval commented Mar 15, 2023

Comes from line 186 in main.dart (line 14 in below image) I believe. the FetchPluginList() should be conditional.
image

@Amogh35
Copy link

Amogh35 commented Mar 17, 2023

I would like to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants