marcglasberg / back_button_interceptor

Flutter Package: May be used to intercept the Android back-button, as an alternative to `WillPopScope`.
BSD 2-Clause "Simplified" License
113 stars 21 forks source link

Doesn't work with iOS swipe #15

Open ghost opened 2 years ago

ghost commented 2 years ago

The package description makes no mention of handling the iOS back swipe. It would be appreciated to update the package description to explicitly state that the iOS swipe is not supported (I had to download and test the sample in the iOS simulator to confirm). It would also be helpful if the description described whether iOS support is planned for a future release.

marcglasberg commented 2 years ago

Yes, the Android back-button and the iOS swipe are very different features, and are implemented in very different ways in the Flutter framework. This package is very focused on the back-button and will not support iOS swipe. I will add this info to the documentation. Thanks!

Abdelaty commented 1 year ago

if you want to detect swipe actions you can check this https://stackoverflow.com/questions/55050463/how-to-detect-swipe-in-flutter