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

Enable going back in history with backpress on Android #10

Merged
merged 1 commit into from
Aug 19, 2017

Conversation

mohammed90
Copy link
Contributor

Otherwise, destroy the webview activity. The user is still able to immediately leave the webview with the button present on the top left corner. This change is only limited to Android.

…available; otherwise, destroy the webview activity. The user is still able to immediately leave the webview with the button present on the top left corner.
@lejard-h lejard-h self-requested a review August 18, 2017 11:51
Copy link
Collaborator

@lejard-h lejard-h left a comment

Choose a reason for hiding this comment

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

It looks good to me right know.

I will see later if we need to make this feature optionnal, because
FlutterWebviewPlugin.channel.invokeMethod("onBackPressed", null); is not call and the app bar with the back button is not always here.

I will publish on pub later today.

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