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

applicationNameForUserAgent is not work in ios #525

Closed
5 tasks done
dashixiong91 opened this issue Sep 17, 2020 · 2 comments
Closed
5 tasks done

applicationNameForUserAgent is not work in ios #525

dashixiong91 opened this issue Sep 17, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@dashixiong91
Copy link

Environment

Technology Version
Flutter version 1.20.2
Plugin version master branch eaad17e
Android version 29
iOS version 13.1
Xcode version 11.1

Device information:

Description

Expected behavior:
set applicationNameForUserAgent will be get with eval navigator.userAgent
Current behavior:
navigator.userAgent is wkwebiew default userAgent

Steps to reproduce

InAppWebView(
      initialUrl: widget.initialUrl,
      initialOptions: InAppWebViewGroupOptions(
          crossPlatform: InAppWebViewOptions(
              debuggingEnabled: true,
              applicationNameForUserAgent:
                  'myApp'),
          ios: IOSInAppWebViewOptions(
              allowsBackForwardNavigationGestures:
                  widget.iosGesturesNavigation)),
      onWebViewCreated: (InAppWebViewController controller) {
        _webviewController = controller;
      });
@dashixiong91 dashixiong91 added the bug Something isn't working label Sep 17, 2020
@EastLee
Copy link

EastLee commented May 25, 2021

I have the same problem

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 Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants