I am using Flutter Technology and running projects on Server but whenever i start running Flutter web Applications on to the Server, it doesn't load the Application and stucked there and giving a white screen output.
Is there any Solution how to execute flutter web App on to the Server without accessing internet.
Related
I am developing a chat bot app in which i have used google dialog flow platform and integrated it to my flutter project, it is working and responding normally when running it on desktop but when i m creating it apk file and running it on mobile device then bot is not responding any question.
as I am getting responses here while running on desktop but it is not answering and question when running its apk file on mobile
I am developing a simple flutter application for my manufacturing facility, where we want to input the stock ids of the raw materials which were used to develop the product. I made a simple Flutter Application with Windows and macOS and Android & IOS enabled while initiating the project in Android Studio. I am using Mysql1 dependency from pub dev to avoid writing large amounts of backend and use other frameworks.
Furthermore, I also added internet permission for the app in the Androids folder. However, when I was trying to do it on the windows app, the MySQL query would not go through. The MySql server is hosted on Digital Ocean. I entered the exact details,
But works on the android phone and not on windows applications. Do we need to add any same permission line in the Windows Folder?
I installed the application on my physical, it is perfectly sending the data to the MySQL table in the DigitalOcean server. However, doesn't seem to do the same in the windows application. I want it to run the query the same as in the windows desktop app as in the android app.
Any help would be appreciated,
Thanks and Regards.
I am new to flutter programming. I want to create a flutter web app which can be run in web view in a Flutter desktop application for all desktop platforms (Linux, Windows and MacOS). The web-app will be running on the main thread. And desktop specific tasks will be run on an isolate. The web app will be the UI and would mainly be using cloud firestore and mostly be listening to document or collection changes and communicate the changed data back to the isolate.
Is the web-app on a Flutter Desktop application possible to do ? And will I be needing to "hosting" the web page to used in a web_view ?
And will I be able to communicate with the web-app from the isolate with the usual Isolate communications ?
I want to create a flutter web app which can be run in web view in a Flutter desktop application for all desktop platforms
Currently Flutter doesn't have desktop support for platform views, which means you can't have an inline webview. You could use a full-window webview with no Flutter UI, but then it's not clear what value you would get from having the desktop host be a Flutter application.
And will I be able to communicate with the web-app from the isolate with the usual Isolate communications ?
If you are expecting to be able to communicate directly between the isolate of the Flutter desktop host and the Flutter web application, no. You would be subject to all of the standard limitations of using a webview, which means any communication in or out would have to go through JavaScript. The fact that the host app is a Flutter app would be essentially invisible to the web app, and similarly in the other direction, because you would be running two completely unrelated instances of the Flutter engine and Dart VM (one compiled to native code and one compiled to JS).
What I need is to run a web app that can only be accessed from my local network.
I built my web app with flutter by typing:
flutter build web
but now I'm stuck because I don't know which web server should I use. I searched for tutorial but didn't find a solution.
Is it possible to build a http server in flutter mobile app but like Android service, a background process to work constantly?
I found a solution to add a http server to flutter app 1 but it is not as a background process.