Closed yolpsoftware closed 2 years ago
Which version of react-native-stack
are you using? Currently, the v2 version of stack is not yet supported and a rewrite is still in progress. You can find more info here:
https://github.com/IjzerenHein/react-navigation-shared-element/issues/16
Here are the versions:
react-native: 0.61.4
react-native-shared-element: 0.5.5
react-navigation: 4.1.0
react-navigation-shared-element: 1.0.0
react-navigation-stack: 2.0.16
Gonna try an older version of react-navigation-stack
, thank you.
v1 of stack should work. If you want to try v2, then check out this branch: https://github.com/IjzerenHein/react-navigation-shared-element/blob/master/README_v2.md
I'm getting a deprecation warning when using
transitionConfig
in thecreateSharedElementStackNavigator
. Apparently there is a new API out there.More info: https://stackoverflow.com/questions/59611691/transitionconfig-is-removed-in-favor-of-the-new-animation-apis
Seems this demo needs to be updated.