bc-wallet-mobile icon indicating copy to clipboard operation
bc-wallet-mobile copied to clipboard

First view of credential details causes error

Open jleach opened this issue 10 months ago • 0 comments

When you first view a credential details the following error is displayed.

Steps to Reproduce

  1. Restart the BC Wallet
  2. Navigate to the Credentials tab
  3. View a credential
 WARN  Non-serializable values were found in the navigation state. Check:

Tab Stack > Tab Credential Stack > Credential Details > params.credential.createdAt (Tue Apr 02 2024 13:08:57 GMT-0700)

This can break usage such as persisting and restoring state. This might happen if you passed non-serializable values such as function, class instances etc. in params. If you need to use components with callbacks in your options, you can use 'navigation.setOptions' instead. See https://reactnavigation.org/docs/troubleshooting#i-get-the-warning-non-serializable-values-were-found-in-the-navigation-state for more details.
    at BaseNavigationContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:354026:28)
    at ThemeProvider (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:360834:21)
    at NavigationContainerInner (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:360722:26)
    at Base
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:60167:43)
    at RCTView
    at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:60167:43)
    at AppContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:60011:36)
    at BCWallet(RootComponent) (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=ca.bc.gov.BCWallet&modulesOnly=false&runModule=true:109368:28)

jleach avatar Apr 02 '24 20:04 jleach