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

Token models don't load on cold boot. #1954

Open
chuck-h opened this issue Jun 11, 2024 · 1 comment
Open

Token models don't load on cold boot. #1954

chuck-h opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chuck-h
Copy link
Collaborator

chuck-h commented Jun 11, 2024

Describe the bug
Token models don't load because hard-coded default url (https://api.telosfoundation.io) is stale and remote-config is slow.
This occurs on cold boot but subsequent app starts are ok.

To Reproduce
Steps to reproduce the behavior:

  1. Kill app and delete memory
  2. Install app (start debugger on dev build)
  3. Join as an account which has ecosystem tokens
  4. Only the hardcoded currency cards show up
    Observe startup in debugger
    image
    apply patch with delay
    image
    observe startup with patch in debugger
    image

Current behavior
Token models don't load on cold boot

Expected behavior
Token models do load on cold boot

Screenshots

Platform & App Version

  • Android pixel6a phone, Android ver 14
  • App Version dev version update/from_rainbo branch

Additional context
We can fix this by hardcoding a currently valid url for init, but that will eventually go stale and misses the point of using remote_config.
This behavior of remote config seems wrong, debug message shows we completed activation:
image

Go figure. ¯_(ツ)_/¯

See also #1950 on general api robustness.

@chuck-h chuck-h added the bug Something isn't working label Jun 11, 2024
@n13
Copy link
Member

n13 commented Jun 12, 2024

Sounds pretty serious.

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

No branches or pull requests

2 participants