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

feat(app): Add canGoBack to backButton event. #265

Merged
merged 5 commits into from
May 18, 2021

Conversation

lishid
Copy link
Contributor

@lishid lishid commented Feb 22, 2021

This PR adds the canGoBack (boolean) status to the event object of the backButton event on Android.

This status isn't normally accessible from the JS side, but would be very useful if the app uses the browser history stack for handling navigation.

@lishid
Copy link
Contributor Author

lishid commented Feb 22, 2021

Related: #130 (comment)

@lishid
Copy link
Contributor Author

lishid commented Feb 22, 2021

Weird, lint seems to have passed on my previous commit just 10 minutes before, and my new commit only adds the auto-generated docs. It also seems to say '@capacitor/text-zoom' so I'm guessing it's just flaky? Is there any way to re-run the lint?

@lishid
Copy link
Contributor Author

lishid commented Feb 24, 2021

Got lint to re-run and clear the PR!

@lishid
Copy link
Contributor Author

lishid commented Feb 28, 2021

@imhoffd Any feedback? I know you guys are probably busy. Hopefully this small patch won't take long.

@ionic-team ionic-team deleted a comment from lishid Mar 6, 2021
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR
I changed the version to 1.0.0 as it refers to the plugin version, not the capacitor version
it's still not 1.0.0, but will be once we release the final plugins

@jcesarmobile jcesarmobile merged commit 6d7861e into ionic-team:main May 18, 2021
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

Successfully merging this pull request may close these issues.

2 participants