flutter webView work on android but not work on web - android

I use EasyWebView and just want to show a webView.
It work fine on Android emulator but on web shows blank without error.
the document says that it support
Web
Android
iOS
Windows
How to solve it.Any help will be appreciate
pubspec.yaml
easy_web_view: ^1.6.0
webview_windows: ^0.1.6

Related

Android Firebase not working for flutter web

I have been working on my app I added a firebase Android backend tho I need the app to work on both Android and web, When running the app on an android emulator everythin works just fine but When I run it on a web (Google Chrome) the code excutes without giving any errors but the chrome window is empty and dont have anything on it.
The UI worked just fine on both web and android before adding firebase and yes I have added a web app on firestore.
thanks for the help

Cordova application: does webassembly supported on Android?

I am developing an app with Cordova + Webassembly.
The customer needs the app to work on Windows and Android.
I am using Visual Studio 2017 + TACO.
The webassembly is generated from C/C++ code using emscripten and is working all fine on Edge and Chrome. It is also working on an Android device (Chrome)
The Cordova app running on Windows is working perfectly.
Now my problem is on Android. The Cordova app on Android log this error:
Fetch API cannot load file:///android_asset/www/script/myApp.wasm. URL scheme "file" is not supported.
I can't find anywhere if Cordova supports WebAssembly on Android. My understanding is Android is using a WebView component and should rely on Google Chrome (my Webassembly is working fine on Chrome on Android).
Is there an option somewhere to add a mime-type for cordova on android?
Thanks in advance for any help.
There is another option using the XMLHttpRequest object like showed at https://studiolacosanostra.github.io/2020/02/23/How-to-run-rust-wasm-on-cordova/.
Of course, you don't need to overwriting the fetch function like they do there, but you certainly can use the idea to create your own function.
As you can see in the console, "URL scheme must be “http” or “https” for CORS request.".

Open Intel XDK links in system browser?

I've been working on an HTML5 app in the Intel XDK lately and part of the app is buttons that link to external websites. I'm having a problem with the apps opening in the same window, which then causes the user to get stuck in the browser. I'm using the Jquery mobile framework currently. I constantly call the link to open in a "_blank" target, and have also tried several other things such as "window.load". What do I do to get this to work? The app has to work with android and iOS. Any help is appreciated.
Use the Cordova inAppBrowser plugin, see the docs here: https://github.com/apache/cordova-plugin-inappbrowser You will want to use _system target with it.

open the content in chrome browser phonegap

I need help resolving the error I get when I run a phonegap android app. I'm iframing a page with an embedded UStream feed. Everything else loads perfectly expects the ustream section and I get the error:
Sorry! The stream could not be played on this device.
Open the Content in Chrome Browser
Any assistance you can offer will be greatly appreciated.
Probably what is going on is that the UStream feed uses some HTML5 or other fancy API that is not yet in the WebView that Cordova/PhoneGap uses. You see, Phonegap uses a native WebView component to render the HTML content of your app. The problem is that this WebView is an oooold version of WebKit and doesn't support HTML5 and some other things. This is why the same web page will sometimes act differently depending on if you open it with Chrome browser, the standard Android browser, or with a Cordova WebView. This problem exists for all platforms as far as I know.
The slightly good news is that they just announced that Android 4.4 will have an updated WebView based on Chromium code, so hopefully your iframe will work in a 4.4 version of Cordova.

Problem with Webview app

I'm just started looking at developing apps. I have made some of the tutorials (HelloWorld), but when I try to make a WebView app following the tutorial for that it won't work. Each time I run the app on my phone I get the "Force Close". I use eclipse. I'm sorry that i cannot be more specific - but my point is that my knowledge doesn't go further than failing in a tutorial.
Because of me huge lack of knowledge about developing I would be grateful if anyone would like to help me developing an app for android phones, using webview to show www.lectio.dk.
Christian.
If you're specifying Android 2.3 as the Target Name, the WebView example won't work in the emulator. See http://code.google.com/p/android/issues/detail?id=12987. A workaround is to specify Android 2.2.

Categories

Resources