Why does webview in Flutter start with around 120 MB of memory usage with no major code and using latest webview_flutter plugin, when compared to WKWebview which uses only around 40 MB. Please reply or at least check it.
Excellent video. Andrew's videos really inspired to walk into app development in Flutter. Many I know who own small companies and they don't have budget for or simply they don't want to go for app development, where they invested significantly on web. They prefer to maintain web content only. Are there restrictions from Google in simply packing corporate website into an app and host it in playstore?
Amazing work! great content! Can you provide a video on handling three.js externally onto a WebView and interact with it using a layered button on top of the external HTML page. Thanks
In Android It is just the overly of java Android Webview on Flutter. Rendering from Java Android Surface Texture will be nice Using OpenGL. Or CEF implementation for Android.
On iOS, I don't think it's possible for any app to change the device clock, unfortunately. On Android, you could request the SET_TIME permission in your app's manifest and use Platform Channels to communicate with native code that calls the TimeManager API: developer.android.com/reference/com/google/android/things/device/TimeManager
Why does Flutter web view start with 120 mb memory usage when Compared to WKWebview which takes only 40 mb. Hope this message is replied and not deleted.
Hmm. We had an issue about this a while ago (github.com/flutter/flutter/issues/26133), but I thought it had been fixed. If you're running into a problem, please file an issue at github.com/flutter/flutter/issues!
Hello good job, but i copied everything and it did'nt work when it loaded it say in red background :"Unsupported operation: platfform_operatingSystem ". so Please Help
Hey there! It's dependent on use case, but if there's an error when you're trying to pull an image, for example, you can give an errorBuilder to return the error page widget. api.flutter.dev/flutter/widgets/Image/errorBuilder.html
after follow this tutorial, the view beside don't recognize WebView, problems say Unused import: 'package:webview_flutter/webview_flutter.dart'. Try removing the import directive., Im go crazy
My question is if i have a ton of documents and fetch them with snapshot all of them, is listview builder is smart enough to fetch all of them without crashing my app and render what is visible on screen, thanks for great work
only the items on screen will be rendered, but the rest data fetched will be in memory. Consider using packages such as loading_more_list or lazy_load_scrollview to load more items when scrolled to the bottom
Hello I converted my website to app all the functionality is working but when I click on WhatsApp it shows me webpage error , Facebook & instagram are working fine . I search everywhere follow stackoverflow solutions but didn’t work do you know how to fix this error 😢
Not the last time I checked. Now that the desktop platforms are stable, I'm hoping to see a lot more effort (both in and out of Google) going into making plugins support Linux, Windows, and macOS.
I am highly interested to know if we can build a browser on top of chromium in flutter. If it is, How??? Because we know webview can be good for regular use cases but chromium is way more powerful than that. I will be waiting for your response.
Hello, I have a question, when I switch from one page to another the state of my WebView isn't remembered and it reloads every time. how can prevent that? Thanks so much!
My error lib/main.dart:20:14: Error: Type 'WebViewController' not found. late final WebViewController controller; ^^^^^^^^^^^^^^^^^ lib/main.dart:20:14: Error: 'WebViewController' isn't a type. late final WebViewController controller; ^^^^^^^^^^^^^^^^^ lib/main.dart:25:18: Error: The method 'WebViewController' isn't defined for the class '_WebViewAppState'. - '_WebViewAppState' is from 'package:webview/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'WebViewController'. controller = WebViewController()
The only problem I have with this is Flutter Web View is not updating url content. I have updated my page content on the website and will continue to do so but the WebViewer is not showing that change . I will need this to work on Android and IOS my app will be done if ever this gets to working right.
So the Flutter Web view doesn't reflect changes from your website automatically??? Is it not supposed to be syncing with the content of the website since it's loading from the url
To connect a Flutter app to MySQL, I recommend looking into popular backend frameworks like Express, Django, or some of the new full-stack Dart frameworks currently being announced.
The problem with webview is that you give access to the entire internet without even noticing, for example if some url goes to google and the phone is in a childs hands, it will bypass all the configurations of the web restritions is it not?
Microsoft could learn a few things from flutter online cotent long term ms developer feed up of there cross platform efforts in maul flutter happy path is far better
The fun fact he mentioned in the beginning is really smart. Something worth to include in every manager training. Thank you Andrew.
Damn, really got my hopes up that WebView was available on Desktop now...
This Boss, is the best ! I loved his Honesty Lol.😂😂
Hi sir, can I use this webview in web, for example: in windows or in macOS?
i liked the intro, get your production team.
BEST WEBVIEW tutorial EVER.
can you please tell me how to pass context inside NavigationDelegate? i want to perform routing from web to statfull widget
Why does webview in Flutter start with around 120 MB of memory usage with no major code and using latest webview_flutter plugin, when compared to WKWebview which uses only around 40 MB. Please reply or at least check it.
Thanks sir
I love you 3000❤
Excellent video. Andrew's videos really inspired to walk into app development in Flutter.
Many I know who own small companies and they don't have budget for or simply they don't want to go for app development, where they invested significantly on web. They prefer to maintain web content only.
Are there restrictions from Google in simply packing corporate website into an app and host it in playstore?
It would be nice to update the tutorial to the new version of webview_flutter
thank you very much sir
Amazing work! great content! Can you provide a video on handling three.js externally onto a WebView and interact with it using a layered button on top of the external HTML page. Thanks
How about desktop OS (Linux,Windows) support?
my website has a page loader also and when im trying to load the website in the app that loads and loads and my website are not visible ?
In Android It is just the overly of java Android Webview on Flutter. Rendering from Java Android Surface Texture will be nice Using OpenGL. Or CEF implementation for Android.
Hello, can I coding application with Javascript and html in flutter? without need url?
Please 🙏🥺 can you answer my question ⁉️
How I can set or change current device time in flutter app without go to device settings?
On iOS, I don't think it's possible for any app to change the device clock, unfortunately. On Android, you could request the SET_TIME permission in your app's manifest and use Platform Channels to communicate with native code that calls the TimeManager API: developer.android.com/reference/com/google/android/things/device/TimeManager
Why does Flutter web view start with 120 mb memory usage when Compared to WKWebview which takes only 40 mb. Hope this message is replied and not deleted.
The reason is flutter is a sdk
I can't use it with a login firebase in a web view
if in my webpage I have a login with google our Facebook
I've an issue with embedded content. Every time I click it pop-ups ads. Is there a way to deal with it?
How to download files from webview.. Pls give reply
you cant get access to local storage with webview...
kindly work on this as well
Hmm. We had an issue about this a while ago (github.com/flutter/flutter/issues/26133), but I thought it had been fixed. If you're running into a problem, please file an issue at github.com/flutter/flutter/issues!
Thanks so much!
Hello good job, but i copied everything and it did'nt work when it loaded it say in red background :"Unsupported operation: platfform_operatingSystem ".
so Please Help
In the webview, we can download file, image, video,... And we can upload the avatar image, file or pdf,... So, you can guide me and anyone to do it
Great
Thanks for the tutorial. Pls how can we render a custom error page on network failure?
Hey there! It's dependent on use case, but if there's an error when you're trying to pull an image, for example, you can give an errorBuilder to return the error page widget. api.flutter.dev/flutter/widgets/Image/errorBuilder.html
after follow this tutorial, the view beside don't recognize WebView, problems say Unused import: 'package:webview_flutter/webview_flutter.dart'.
Try removing the import directive., Im go crazy
use w and v instead of W and V
Thank you
Glad you enjoyed this, Ismail 😃
If you're interested in additional resources, be sure to check out the codelab here:
goo.gle/3j8wszq
Had a bit of hope that this video would discuss Webview on desktop. Alas...
My question is if i have a ton of documents and fetch them with snapshot all of them, is listview builder is smart enough to fetch all of them without crashing my app and render what is visible on screen, thanks for great work
only the items on screen will be rendered, but the rest data fetched will be in memory. Consider using packages such as loading_more_list or lazy_load_scrollview to load more items when scrolled to the bottom
@@BooleanDev thanks, i will try.
is this working in real device
does anyone know how to download files via flutter webview?
Hello
I converted my website to app all the functionality is working but when I click on WhatsApp it shows me webpage error , Facebook & instagram are working fine . I search everywhere follow stackoverflow solutions but didn’t work do you know how to fix this error 😢
i have same problem and is it working on device using apk
Does any one has idea, why WebViews initial opening of webview from middle of page?
Is WebView still not available in Desktop?
Not the last time I checked. Now that the desktop platforms are stable, I'm hoping to see a lot more effort (both in and out of Google) going into making plugins support Linux, Windows, and macOS.
使用stack 在webview上 添加导航,点击事件无效,怎么解决?
I am highly interested to know if we can build a browser on top of chromium in flutter. If it is, How???
Because we know webview can be good for regular use cases but chromium is way more powerful than that.
I will be waiting for your response.
How to get the mime type when download is triggered
Hello, I have a question, when I switch from one page to another the state of my WebView isn't remembered and it reloads every time. how can prevent that? Thanks so much!
Hey! Did you find the ans for this? If yes please let me know!
Create a variable of ur webview rather than creating a new instance of your webview each time
This is greatt
how do you make tests to ensure it's working properly?
Hi Matias! We've included some information on how to test Flutter apps. Check it out here: goo.gle/3CWguCQ 😁
@@flutterdev Hi! I meant for webviews specificly
My error
lib/main.dart:20:14: Error: Type 'WebViewController' not found.
late final WebViewController controller;
^^^^^^^^^^^^^^^^^
lib/main.dart:20:14: Error: 'WebViewController' isn't a type.
late final WebViewController controller;
^^^^^^^^^^^^^^^^^
lib/main.dart:25:18: Error: The method 'WebViewController' isn't defined for the class '_WebViewAppState'.
- '_WebViewAppState' is from 'package:webview/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WebViewController'.
controller = WebViewController()
The only problem I have with this is Flutter Web View is not updating url content. I have updated my page content on the website and will continue to do so but the WebViewer is not showing that change . I will need this to work on Android and IOS my app will be done if ever this gets to working right.
So the Flutter Web view doesn't reflect changes from your website automatically??? Is it not supposed to be syncing with the content of the website since it's loading from the url
could facilitate the connection between mysql and flutter?
To connect a Flutter app to MySQL, I recommend looking into popular backend frameworks like Express, Django, or some of the new full-stack Dart frameworks currently being announced.
no sir on real phone also icon are not visible video timing = 6:04
in real device is it working ?
HTML web site not opened it ... why???
Hellow Dash’s !
Sweet
Thanks, Shohag! If you want to learn additional resources, check out the following link: goo.gle/3j8wszq
The problem with webview is that you give access to the entire internet without even noticing, for example if some url goes to google and the phone is in a childs hands, it will bypass all the configurations of the web restritions is it not?
You can implement your own NavigationDelegate (see 17:47 for an example) to prevent the WebView from navigating away from a specified domain!
Microsoft could learn a few things from flutter online cotent long term ms developer feed up of there cross platform efforts in maul flutter happy path is far better
PIKA
Launching lib/main.dart on SM G950F in debug mode...
lib/app/modules/confirm_pay/views/confirm_pay_view.dart:17:19: Error: Couldn't find constructor 'WebView'.
body: const WebView(
^^^^^^^
Target kernel_snapshot failed: Exception
TO INSTALL Flutter with outdated ways became the reason i hate and never recommend flutter.
Does anyone knows if this is still working on flutter 3?
Update: it is