0

I have a flutter web app with GoRouter and deeplinking is working.

But we want to build some "Frame" around the app that the app is displayed as a smartphone on a website (portrait) and we have done it by embedding the flutter web app in an iFrame. Tat breaks the deeplinking - but is it possible to "forward" the 2 last parts of the url to the iframe?

So when the page is called

www.mypage.com/flutterAppFrame/deeplink/2

That then I embedd the iframe instead of

<iframe src="https://www.mypage.com/flutterapp/" style="border: 5px solid #2767ae; overflow: hidden;" >

with

<iframe src="https://www.mypage.com/flutterapp/deeplink/2" style="border: 5px solid #2767ae; overflow: hidden;" >
derChris
  • 726
  • 8
  • 19

0 Answers0