tutorial_coach_mark icon indicating copy to clipboard operation
tutorial_coach_mark copied to clipboard

The overlay doesn't go away when 'back' button is pressed.

Open wongni opened this issue 5 years ago • 7 comments

While showing tutorial overlay, if the back button is pressed, the overlay is supposed to go away but it's not.

wongni avatar Aug 21 '19 02:08 wongni

Good remark! I will be evaluating how to do this. if you have a suggestion I would appreciate if you opened a PR.

RafaelBarbosatec avatar Oct 18 '19 21:10 RafaelBarbosatec

Any updates on this?

ciriousjoker avatar Feb 03 '22 04:02 ciriousjoker

Yes, on Android, instead of acting like there is no coachmark, the back button should either show the previous coachmark step OR close the coachmark completely.

Now, let's assume that we have only one coachmark step. And when pressed the built-in back button of Android devices, it navigates back instead of closing it.

I think this is still a valid issue. Any news? Thanks a lot!!!

yasinarik avatar Jan 04 '23 13:01 yasinarik

Thanks a lot to @masewo for the solution!!!

The below forks of this package have the back button interceptor. And works as expected.

If you are using Dart 2.17.0 on your project: (it uses: back_button_interceptor: ^6.0.1)

  tutorial_coach_mark:
    git: https://github.com/masewo/tutorial_coach_mark 

Also, if you are using Dart 2.12.0 on your project: (it uses back_button_interceptor: ^5.0.1)

  tutorial_coach_mark:
    git: https://github.com/yasinarik/tutorial_coach_mark 

yasinarik avatar Jan 19 '23 13:01 yasinarik

Thanks a lot to @masewo for the solution!!!

The below forks of this package have the back button interceptor. And works as expected.

If you are using Dart 2.17.0 on your project: (it uses: back_button_interceptor: ^6.0.1)

  tutorial_coach_mark:
    git: https://github.com/masewo/tutorial_coach_mark 

Also, if you are using Dart 2.12.0 on your project: (it uses back_button_interceptor: ^5.0.1)

  tutorial_coach_mark:
    git: https://github.com/yasinarik/tutorial_coach_mark 

Thank you this one works.Please merge this to here

bazl-E avatar Feb 22 '23 06:02 bazl-E

Any update on this ?

vrman avatar Aug 23 '23 06:08 vrman

Is this going to be merged @RafaelBarbosatec ?

PhilippS93 avatar Nov 25 '23 17:11 PhilippS93