Skip to content
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

swipe to go back capacitor demo - ios may not work #55

Open
billythedummy opened this issue Feb 8, 2023 · 4 comments
Open

swipe to go back capacitor demo - ios may not work #55

billythedummy opened this issue Feb 8, 2023 · 4 comments

Comments

@billythedummy
Copy link

maybe this isn't the right repo to open an issue on, but do you have a demo of swipe to go back working in a capacitor + ionic + sveltekit mobile app? It works fine on PWA/browser but doesn't seem to work on a capacitor native app

@Tommertom
Copy link
Owner

I have never tried that part in Capacitor - android or ios? do you get an error?

@billythedummy
Copy link
Author

I have never tried that part in Capacitor - android or ios? do you get an error?

android studio emulator and on an android phone. No error, it just doesn't do anything when i swipe back or press the hardware back button

@Tommertom
Copy link
Owner

Docs on this - https://ionicframework.com/docs/developing/hardware-back-button

When trying the back button in android emulator closes the window and the event is not fired...

Swipeback is not functioning at all

@Tommertom Tommertom changed the title swipe to go back capacitor demo swipe to go back capacitor demo/back button android closes app Apr 15, 2023
@Tommertom Tommertom changed the title swipe to go back capacitor demo/back button android closes app swipe to go back capacitor demo - ios may not work Apr 16, 2023
@Tommertom
Copy link
Owner

Tommertom commented Apr 16, 2023

Docs on this - https://ionicframework.com/docs/developing/hardware-back-button

When trying the back button in android emulator closes the window and the event is not fired...

Swipeback is not functioning at all

Android Back buttonin capacitor works - out of the box, right from the docs

https://github.com/Tommertom/capacitor-backbutton/blob/main/src/routes/%2Blayout.svelte

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants