-
Notifications
You must be signed in to change notification settings - Fork 28
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
Start tour programmatically #50
Comments
Hi @cacode-euan, thanks for bringing this up. This is possible but you'll have to work your way around to achieve it. I think this is a great feature so we'll add it to our pipeline to work on it. In the meantime, these are the options you could use:
|
Hey, thanks for this solution. However, to prevent re-renders in my functional component, instead of |
Is there not a way to do this just this with ? |
|
I need to start tour programmatically and used SpotlightTour ref and useEffect. |
add a small timeout inside useEffect:
|
Same on me..... |
i'm able to solve this using onLayout. feels more proper than setting up the timeout <View onLayout={() => start()}> |
Please help me ~~~~ |
have you tried any of the workaround above? |
Not working on android. And animations are slow. [[24,24,24,24,24,24,24],[19,16,9,20,19,17,12],[[],[121,1],[],[36],[],[599,"onTransitionProgress",4]],2019] |
Hello, thanks for this great package
Is there a way to begin the tour without calling start() via on onpress?
For example, I want my tour to automatically start the first time the user opens the app
Thanks! :)
The text was updated successfully, but these errors were encountered: