xcarpentier / rn-tourguide

🚩Make an interactive step by step tour guide for your react-native app (a rewrite of react-native-copilot)
https://xcarpentier.github.io/rn-tourguide/
Other
741 stars 213 forks source link

Multiple screens Issue #151

Open VilasSeaflux opened 10 months ago

VilasSeaflux commented 10 months ago

Hey guys, I am having 4 screens in which I want to show 2 app tour on each screen

eg: Screen A(1,2 on click of 2 it will redirect to screen B) Screen B (3,4 on click of 3 it will redirect to screen C) Screen C (5,6 on click of 5 it will redirect to screen D) Screen D(7 it has only 1 Tooltip)

Now on screen B, on the Tooltip no 3 I am getting the text of Tooltip 1 which was on screen A, Anyone knows how to fix that or can provide a solution to add app tour on different screens.

I am attaching the screenshots of the code below

Screenshot 2024-01-09 at 6 10 27 PM

GuideTooltip custom component

Snap

LibraryScreen which is the first screen

Snap (1)

ProjectScreen which is the second screen

Snap (2)

murilo-alvesmelo commented 8 months ago

Hey, i had the same problem, so searched others libs and found react-native-walkthrough-tooltip. It works in multiples screens, but you need to control the states with some localdatabase, like realm or asyncstorage, create booleans within async to trigger Tooltips. Is a solution.

Sorry about my english. I learning

Elango1734 commented 5 months ago

You can assist me in installing react-native-walkthrough-tooltip and using multiple screens in an app. @murilo-alvesmelo