react-native-copilot
react-native-copilot copied to clipboard
React-Navigation - tour on multiple screens
Current Behavior Have steps on different react-navigation screens
- One step on first screen, it shows only the "Finish" button, as there are no other steps
- Next steps on other screen, shows the walkthroughable from the previous screen in the same position, which does not make sense, then the next step on the corresponding walkthroughable component on the current screen
Expected behavior/code Steps to be remembered on different react-navigation screens
Environment
- Device: [e.g. iPhone 14 Simulator]
- OS: [e.g. iOS16]
react-native-copilot: 3.2.1react-native: 0.72.4
Possible Solution
Additional context/Screenshots
@mohebifar Do we need to wrap the navigation container with the CopilotProvider?
@abo-rythm @quicksilverr
If you want to use it in multiple screens then you can wrap main navigator with CopilotProvider and whichever element you want to use based on your requirements you can set the order.