My team has already created a web page with Flutter/Dart. It works, great! But it is now asked that the web page shall be integrated into a partner web site by means web components. That means we shall build our Flutter project into a web component instead of a web page.
Does anyone have an idea how we can achieve this? Thanks a lot!
Related
In terms of Flutter Url handling in Flutter web, I understand that I have use routes and have String Widget pairs in the main.dart. This works perfectly well in my testing environment on my laptop. I am making a website https://intagly.com/. I want the user to be able to type https://intagly.com/signup and it leads to the signup page. This will make it easy for users to share links. I set it up in the routes in the main dart to lead to that page. When I add /signup to my URL in my testing environment it leads to that page perfectly fine. However, when I push the site to the hosting service https://intagly.com/signup comes up no page is found. I understand each link needs a folder of code. How can I achieve this using Flutter Web?
So I am making a flutter web app that I want to deploy with firebase hosting. However, do I need to use Navigator 2.0 to do so, or is Navigator 1.0 fine. Thank you for helping.
Edit:
My concern with the navigator is due to the links, since in Navigator 1.0, you can push an unamed routes, would that affect the website when for example; I refresh the page and am taken back to the home page or would firebase hosting create links for me.
Firebase Hosting has no knowledge of the fact that your use Flutter. So if it works on another static web host, it will also work on Firebase Hosting. If you have any issues running your Flutter web app that are specific to Firebase Hosting, I'd recommend posting a minimal repro.
I am a beginner level developer. I have a WiX website and some authorized members in it. Now, I am creating an app for my website (in Flutter) and I want all of the members' login info in my app so that they could login to my app just like they login to my website. How can I do that?
I literally have no idea how to do that. I'll be glad and honored if someone would like to help me.
You can only do this through an API. I don't know if Wix has a plugin for generating API, otherwise you have to build one yourself
I created OVP application to display different cards. This application works well when I deploy it to my Fiori Launchpad page.
OVP cards work well in Fiori launchpad
But the content of OVP application cannot be loaded when I add it to my Site
same OVP cards cannot be loaded in Portal site
It is so weird that OVP application works differently by deploying them to Fiori launchpad and Portal site. Can anyone help me out of this issue? Thanks a lot!
There is any error in the console? Something like "Access-Control-Allow-Origin"?
If your Portal has a different domain that your OData service you will get a CORS issue.
The typical scenario is:
1.- Your OData comes from an ABAP system
2.- Your portal is in a JAVA system
One possible solution. Set a WebDispacher in front of them and access the Portal through the WD. The WD will redirect your requests to the corresponsing system, but your browser will receive everything from the WD domain, so no CORS...
This was solved because the OVP cards works in Fiori launchpad ONLY.
https://jam4.sapjam.com/questions/9NKsSwCxyTD91wIX7CIZig
We are building a new app in GWT. This app will needed to be incorporated into an existing app. The server hosting the GWT app will be different than the server hosting the existing app. To get around the SOP issue, we plan to embed the GWT app in an iframe within the existing app. We would like to use history tokens to record page changes within the GWT app. This works fine, i.e. the back and forward buttons in the browser work as expected, EXCEPT that the URL of the parent page embedding the GWT app does not change to reflect the history token changes. Is there any way to modify the parent page URL from the GWT app embedded within an iframe? Any help would be greatly appreciated! Thanks!
Found techniques to do so here: http://softwareas.com/cross-domain-communication-with-iframes. This is not specific to GWT but is doable in GWT. I tried the "Marathon" version and it works.