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

Crash after error There is no route defined for key home if open universal link to public chat while app is on background with Wallet or Profile tab selected #7549

Closed
annadanchenko opened this issue Feb 21, 2019 · 1 comment · Fixed by #7783
Assignees

Comments

@annadanchenko
Copy link

annadanchenko commented Feb 21, 2019

Description

Type: Bug

Summary: App crashes after error " There is no route defined for key home." if app was on background with Wallet or Profile or Dapp(in 0.11.0 Develop) tab active and user opens universal link to public chat e.g. https://get.status.im/chat/public/status

02-21 17:32:41.781  5793  5848 E ReactNativeJS: Error: There is no route defined for key home.
02-21 17:32:41.781  5793  5848 E ReactNativeJS: Must be one of: 'currency-settings','show-extension','about-app','blocked-users-list','network-settings','fleet-settings','edit-mailserver','qr-scanner','manage-dapps-permissions','my-profile','log-level-settings','dapps-permissions','offline-messaging-settings','network-details','contacts-list','installations','edit-network','profile-photo-capture','bootnodes-settings','help-center','backup-seed','edit-extension','edit-bootnode','extensions-settings'
02-21 17:32:41.781  5793  5848 E ReactNativeJS: 
02-21 17:32:41.781  5793  5848 E ReactNativeJS: This error is located at:
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in r
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in r
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in n
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in reagent2
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in root
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in reagent1
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in RCTView
02-21 17:32:41.781  5793  5848 E ReactNativeJS:     in t

Expected behavior

public chat is opened

Actual behavior

app crashes

Reproduction

  • Open Status and sign in
  • tap on Profile tab
  • put app on background
  • in Chrome or other browser open link https://get.status.im/chat/public/status
  • tap Open in Status
  • check if public chat "status" is opened in Status app

Additional Information

  • Status version: 0.9.33 release and nightly from Feb 21
  • Operating System: Android and iOS

Logs

full logcat
crash12.log

@StatusSceptre
Copy link
Member

Also have this crash on release 0.9.33

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

Successfully merging a pull request may close this issue.

3 participants