Open hoanghcmus opened 5 years ago
I'm using plain old react-native init
and copilot is not showing for me. I'm also using react-navigation.
As I see @hoanghcmus is using native-base
UI framework.. this might be the problem ?
@hoanghcmus Try wrapping a react-native
View component and with walkthroughable
and then use that walkthroughable
View to wrap your desired elements.
@DusanDimitric I am also using native-base
and I tried your suggestion, and there was not any progress, It works in my main screen, but it does not work in others :|
Instead of const CopilotText = walkthroughable(Text);
do
const CopilotText = walkthroughable(View);
Current Behavior Tutorial does not show when involve
this.props.start()
Input Code
Expected behavior/code The tutorial should be shown when invoking the
this.props.start()
Environment
react-native-copilot
: ^2.4.1react-native
: 0.55.4react-native-svg
: ^6.3.1react-navigation
: ^2.11.2Possible Solution It could be related to
react-navigation
, I think, but not sure,Additional context/Screenshots