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

Blank screen after Use Existing > add to existing account via QR scan #1055

Open
dcposch opened this issue May 17, 2024 · 0 comments
Open

Blank screen after Use Existing > add to existing account via QR scan #1055

dcposch opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dcposch
Copy link
Member

dcposch commented May 17, 2024

Summary

This is an edge-case bug.

  • Created thatdrever84 on iOS
  • Added Android

Expected

Should go to the Allow Notifs screen, then Home.

Actual behavior

Shows an empty screen.

Investigation

Likely due to following line in ExistingScreen:

  if (account != null) return null; // Will nav to home screen shortly.

...in general, as soon as the account is set we nav to AllowNotifs.

We can see where that should've happened below: "onboarding page CreateNew, maybe jumping forward".

Instead, stuck on blank page.

Logs from Android:

2024-05-17T08:58:04.242Z log [ONBOARDING] render intro, {"dims":{"width":392.7272644042969,"y":0,"height":737.4545288085938,"x":0},"isCompact":true}
2024-05-17T08:58:04.338Z log [TRPC] GET lookupEthereumAccountByKey 200 in 109ms
2024-05-17T08:58:04.339Z log [ACCOUNT] pollForAccountByKey no account found
2024-05-17T08:58:06.240Z log [ACCOUNT] pollForAccountByKey, key 0x3059301306072a8648ce3d020106082a8648ce3d03010703420004650081f36fc5af763f3beba3d30484866484bfa85ed1149d417320db447eaf157574a5323407c33e2a5e188db1a7c72824618bca6d119c748bf98e3250693abc
2024-05-17T08:58:06.263Z log [TRPC] fetching https://api-stage.daimo.xyz/chain/84532/lookupEthereumAccountByKey?batch=1&input=%7B%220%22%3A%7B%22pubKeyHex%22%3A%220x3059301306072a8648ce3d020106082a8648ce3d03010703420004650081f36fc5af763f3beba3d30484866484bfa85ed1149d417320db447eaf157574a5323407c33e2a5e188db1a7c72824618bca6d119c748bf98e3250693abc%22%7D%7D, timeout 10000ms {"method":"GET","signal":{},"headers":{"content-type":"application/json","x-daimo-platform":"android 31","x-daimo-version":"1.8.7 #344"}}
2024-05-17T08:58:06.849Z log [TRPC] GET lookupEthereumAccountByKey 200 in 585ms
2024-05-17T08:58:06.850Z log [ACTION] pollForAccountByKey saving thatdrever84, 0xaad1A9D04203D0e9856727868bA398348c515bEe
2024-05-17T08:58:06.850Z log [ACCOUNT] save thatdrever84
2024-05-17T08:58:06.850Z log [ACCOUNT] notifying 6 listeners
2024-05-17T08:58:06.850Z log [APP] rendering thatdrever84, not onboarded
2024-05-17T08:58:06.862Z log [APP] rendering bottomSheet=undefined
2024-05-17T08:58:06.876Z log [APP] rendering thatdrever84, not onboarded
2024-05-17T08:58:06.882Z log [APP] rendering bottomSheet=undefined
2024-05-17T08:58:06.896Z log [ONBOARDING] render intro, {"dims":{"width":392.7272644042969,"y":0,"height":737.4545288085938,"x":0},"isCompact":true}
2024-05-17T08:58:06.910Z log [ONBOARDING] polling found account thatdrever84
2024-05-17T08:58:06.910Z log [ONBOARDING] onboarding page CreateNew, maybe jumping forward
2024-05-17T08:58:06.941Z log [NOTIFY] app in foreground, clearing badge
2024-05-17T08:58:07.000Z log [ONBOARDING] video loaded
@dcposch dcposch added the bug Something isn't working label May 17, 2024
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

1 participant