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

System ui (status bar and navigation bar) doesn't hide automatically. #202

Closed
makindotcc opened this issue Nov 29, 2019 · 3 comments
Closed

Comments

@makindotcc
Copy link

makindotcc commented Nov 29, 2019

Environment

App version: ? you mean this plugin version? 2.0.1
Android version: 9 (pixel experience rom) and 7.1.1 android emulator and 7.1 samsung official rom
Device information: xiaomi redmi 4x, my pc, samsung galaxy s6
Flutter version: 1.9.1+hotfix.6

Description

Expected behavior:
Hide the system ui after a short interval.

Current behavior:
System ui doesn't hide automatically.

Steps to reproduce

  1. Create webview:
    InAppWebView(
      initialUrl: "https://www.youtube.com/embed/a3ICNMQW7Ok?autoplay=1",
      onLoadStop: _onPageFinished,
      onWebViewCreated: _onWebViewCreated,
      initialOptions: InAppWebViewWidgetOptions(
        inAppWebViewOptions: InAppWebViewOptions(
          userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36",
          mediaPlaybackRequiresUserGesture: false,
          javaScriptEnabled: true,
          useShouldOverrideUrlLoading: true,
        ),
      ),
      initialHeaders: {
        "Accept-Language": "pl"
      },
      shouldOverrideUrlLoading: _onShouldOverrideUrlLoading,
    )
  1. Enter to fullscreen mode
  2. Swipe down from top to show system ui

Video

https://youtu.be/IKrwPBZwPSU

Stacktrace/Logcat

nothing is logged

@makindotcc makindotcc changed the title System ui (status bar and navigation bar) is not auto hiding System ui (status bar and navigation bar) doesn't hide automatically. Nov 29, 2019
@pichillilorenzo
Copy link
Owner

Now it should be fixed in the new version 2.1.0!

@makindotcc
Copy link
Author

Thank you for quick fix. Works for me too :)

This was referenced Jul 6, 2020
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants