tutorial_coach_mark icon indicating copy to clipboard operation
tutorial_coach_mark copied to clipboard

Feature Request: onSkip actions override

Open math-muller opened this issue 4 years ago • 2 comments

Make it possible to put for example a next button in place of the skip button.

math-muller avatar Oct 05 '21 00:10 math-muller

Yes. I tried to make skip go to the next step, but it finishes the whole tutorial.

t would be great to be able to override this default behaviour so that the user may have a visual reference as to where to press to go on to the next step of the tutorial being displayed.

Since this is are not possible, I am trusting the user will press the overlay or the highlighted area to go on with using the app, but he could easily think the app is broken and there's nothing on screen for him to press or do in order to leave the current animation.

A skip action which takes the user to the next step would be sometimes a better solution than a skip action which finishes the whole tutorial.

UlyssesAlves avatar Feb 03 '23 15:02 UlyssesAlves

Hi everybody,

I made some little changes in code for changing onSkip behaviour: https://github.com/RafaelBarbosatec/tutorial_coach_mark/pull/140/commits/f24587d39de8ccad53e7f80cee6997c098c1248c

Now if onSkip value is null, it will run default action (skip) Othercase, you can put your own logic. For me it was showing next tutorial (next) Good luck.

murat-ti avatar Feb 08 '23 12:02 murat-ti