Skip to content

Inline Android and iOS WebView #730

Closed

Description

@eseidelGoogle

Presumably this requires some compositor work, similar to maps or video?

Activity

  1. added this to the milestone on Dec 11, 2015
  2. jxson commented on Jan 4, 2016

    @jxson

    Adding an example use case for this:

    I have a hybrid Android application where some rendering is handled by a WebView but controls for things like navigation are handled by native UI widgets. I would like to port a version to Flutter, off the top of my head the requirements for getting this to work are:

    The last item here allows us to stream the contents of PDF files to the WebView. The current Android implementation intercepts HTTP requests from the WebView and streams back the contents of the requested PDF file. The implementation can be seen here.

    I'm new to Flutter so I may have gotten some of the terminology wrong, let me know if you need clarification on anything.

  3. eseidelGoogle commented on May 13, 2016

    @eseidelGoogle
    ContributorAuthor

    We're currently moving towards an approach of making it easier to use native views in conjunction with FlutterView:
    https://docs.google.com/document/d/1DOfwpL6VojCAG_zjjcA_z5ekF7rTIohV8dWn2o7_IME/edit

  4. Hixie commented on May 13, 2016

    @Hixie
    Contributor

    This is more about having a way to put a WebView within a Flutter widget tree, I think. As you say in your original comment, we need something similar for embedding videos or maps provided by a third-party non-Flutter library.

  5. owenthereal commented on Jan 17, 2017

    @owenthereal

    Any updates on integrating a webview with flutter?

  6. modified the milestones: , on Jan 26, 2017
  7. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    and removed on Feb 2, 2017
  8. eseidelGoogle commented on May 14, 2017

    @eseidelGoogle
    ContributorAuthor

    Looks like someone has started a plugin to do full screen webviews: https://github.com/dart-flitter/flutter_webview_plugin

  9. 97 remaining items

  10. MikeChongCan commented on Nov 8, 2018

    @MikeChongCan
    Contributor

    @InMatrix Sorry for my misunderstanding. Many thanks your explanation and I really appreciate it. I look forward to the release of the official WebView plugin.

  11. amirh commented on Nov 10, 2018

    @amirh
    Contributor

    flutter-team-archive/plugins#890 added iOS support to the webview_flutter plugin.
    The platform views embedding support, which the inline webview is based on, is still in early preview (see #19030 (comment) ).

    Open issues are tagged with the platform-views and/or webview labels, please upvote the issues you care about to help us prioritize.

  12. amirh commented on Nov 10, 2018

    @amirh
    Contributor

    Note that if you want to try it out on iOS you will need to enable the preview flag, see more details on:
    #19030 (comment)

  13. ZhennanWu commented on Nov 29, 2018

    @ZhennanWu

    The absence of a usable WebView is really a deal-breaker to me personally.
    flutter_inappbrowser is a great package that comes very close to full usability but still lacks keyboard support yet. Unfortunately, I was just going to build a code editor app........

  14. amirh commented on Dec 5, 2018

    @amirh
    Contributor

    Just to clarify: The webview_flutter plugin provides an embedded WebView on Android and iOS and is currently in developers preview.

    We are tracking issues and missing features with the webview tag, if you care about specific issues you can help by filing an issue if there's isn't one yet, or upvoting an existing issue. PRs are of course also welcomed 😄

  15. danielRi commented on Dec 12, 2018

    @danielRi

    @amirh Sorry to hassle you with questions. We are heavily considering moving over to Flutter for a upcoming project, but we rely on a WebView to work (inline, flutter_webview_plugin is not an option). Do you have any information about upcoming updates or a roadmap for us? Thank you very much for any reply, keep up the great work and may the Flutter love spread around the world.

  16. zoechi commented on Dec 13, 2018

    @zoechi
    Contributor
  17. kyawsithu commented on Mar 14, 2019

    @kyawsithu

    Very interesting topic for my problem, I have come across to this topic after struggling a lot to find a right web view for flutter. Unfortunately, this new plugin (still developer preview) has a big issue with Android when I tried to open keyboard. Would that be fixed when it comes to release?

  18. droplet-js commented on Sep 29, 2019

    @droplet-js

    i think foreign function interface + webkit is best way. inline android webview or ios wkwebview is not good idea

  19. amirh commented on Sep 30, 2019

    @amirh
    Contributor

    i think foreign function interface + webkit is best way. inline android webview or ios wkwebview is not good idea

    There are pros and cons (the obvious one is binary size).
    I definitely see how for certain use case bundling a web engine would be the preferred choice.
    It may be possible to add this as an alternative webview_flutter implementation by implementing the platform interface. If anyone gives it a shot I'm curious to lean about it!

  20. github-actions commented on Aug 25, 2021

    @github-actions

    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, including the output of flutter doctor -v and a minimal reproduction of the issue.

  21. locked as resolved and limited conversation to collaborators on Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilitycustomer: mulligan (g3)frameworkflutter/packages/flutter repository. See also f: labels.packageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions