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

Warning at Send Bitcoin Details Screen #2383

Open
sandipndev opened this issue Jun 22, 2023 · 1 comment · May be fixed by #2484
Open

Warning at Send Bitcoin Details Screen #2383

sandipndev opened this issue Jun 22, 2023 · 1 comment · May be fixed by #2484

Comments

@sandipndev
Copy link
Member

Non-serializable values were found in the navigation state. Check:

sendBitcoinDetails > params.paymentDestination.createPaymentDetail (Function)

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=com.galoyapp&modulesOnly=false&runModule=true:216632:28)
    at ThemeProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:221672:21)
    at NavigationContainerInner (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:221563:26)
    at NavigationContainerWrapper (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:215989:24)
    at ErrorBoundary (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:157736:36)
    at FeatureFlagContextProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:287356:24)
    at LevelContainer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:198392:24)
    at ApolloProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:183593:20)
    at GaloyClient (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:186928:24)
    at ThemeProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:141616:26)
    at component (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:191283:43)
    at PersistentStateProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:195690:25)
    at App
    at RootComponent
    at RCTView
    at View (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:48150:43)
    at ChildrenWrapper (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:158002:22)
    at _default (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:158145:36)
    at Root
    at RCTView
    at View (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:48150:43)
    at AppContainer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:48028:36)
    at GaloyApp(RootComponent) (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:84457:28)
@nicolasburtey
Copy link
Member

Non-serializable values were found in the navigation state. Check:

sendBitcoinDetails > params.paymentDestination.createPaymentDetail (Function)

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=com.galoyapp&modulesOnly=false&runModule=true:216632:28)
    at ThemeProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:221672:21)
    at NavigationContainerInner (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:221563:26)
    at NavigationContainerWrapper (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:215989:24)
    at ErrorBoundary (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:157736:36)
    at FeatureFlagContextProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:287356:24)
    at LevelContainer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:198392:24)
    at ApolloProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:183593:20)
    at GaloyClient (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:186928:24)
    at ThemeProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:141616:26)
    at component (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:191283:43)
    at PersistentStateProvider (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:195690:25)
    at App
    at RootComponent
    at RCTView
    at View (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:48150:43)
    at ChildrenWrapper (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:158002:22)
    at _default (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:158145:36)
    at Root
    at RCTView
    at View (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:48150:43)
    at AppContainer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:48028:36)
    at GaloyApp(RootComponent) (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.galoyapp&modulesOnly=false&runModule=true:84457:28)

this is only in the logs right ?

@nicolasburtey nicolasburtey linked a pull request Jul 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants