MarcoPavan Posted September 19, 2017 Share Posted September 19, 2017 Hi, I'm ready to buy uniGUI but using the trial edition the component UnumURLFrame seems work fine on desktop browser but not in the mobile! (eg. iPhone, iPad mini, iPad Pro). On mobile device no page is displayed (also a simple http://www.googe.comfor example) So my question is... this is a limit of trial version, a bug or whats? This is my only issue before buy! Let me know Marco Link to comment Share on other sites More sharing options...
Sherzod Posted September 19, 2017 Share Posted September 19, 2017 Hi, Thank you for your interest in UniGUI! No, it is not a trial limitation Link to comment Share on other sites More sharing options...
MarcoPavan Posted September 19, 2017 Author Share Posted September 19, 2017 Hi, thank you for the reply...so.. why I can't display web pages on a mobile device? I've also tried with a very stupid project ... single form with unimurlframe that load the google home page I'm using Delphi XE8 could be Delphi version the problem? Link to comment Share on other sites More sharing options...
Sherzod Posted September 19, 2017 Share Posted September 19, 2017 The reason for this is, that Google is sending an "X-Frame-Options: SAMEORIGIN" response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 19, 2017 Administrators Share Posted September 19, 2017 As Delphi Developer said it is a security restriction. Link to comment Share on other sites More sharing options...
MarcoPavan Posted September 19, 2017 Author Share Posted September 19, 2017 ok for google... but if I use the app on desktop browser the page will be displayed correctly... and again... I've also tried different target site with the same results So ... how can I show a website in my unigui mobile app? thank you for your helps! MP Link to comment Share on other sites More sharing options...
Sherzod Posted September 19, 2017 Share Posted September 19, 2017 the app on desktop browser the page will be displayed correctly Mobile app ?! Which desktop browser are you using ?! Link to comment Share on other sites More sharing options...
MarcoPavan Posted September 20, 2017 Author Share Posted September 20, 2017 I'm using Chrome (but tested also on Firefox and Safari). My code: type TMainmForm = class(TUnimForm) UnimURLFrame1: TUnimURLFrame; private { Private declarations } public { Public declarations } end; ... the URL property on UnimURLFrame1 is set with a full qualified website url eg: http://www.domain.ext On desktop browser http://192.168.1.144:8077is redirected to http://192.168.1.144:8077/m (mobile version) and all works fine. On safari or chrome on iPad/iPad pro/ iphone and some samsung phones the UnimURLFrame1 is always blank help. M. Link to comment Share on other sites More sharing options...
Sherzod Posted September 20, 2017 Share Posted September 20, 2017 Hi, Have you tried just open this url on your iPad, without UniGUI ? Link to comment Share on other sites More sharing options...
MarcoPavan Posted September 20, 2017 Author Share Posted September 20, 2017 Hi, Have you tried just open this url on your iPad, without UniGUI ? Yes, I did! The url works fine on my iPad (I've also tried using www.unigui.com with the same results ) As you can see no additional code was used.... Just dropped the component and started the application M. Link to comment Share on other sites More sharing options...
Sherzod Posted September 20, 2017 Share Posted September 20, 2017 Please make a testcase and share or send it to info@fmsoft.net Link to comment Share on other sites More sharing options...
MarcoPavan Posted September 20, 2017 Author Share Posted September 20, 2017 Please make a testcase and share or send it to info@fmsoft.net OK thank you for your assistance:) M Link to comment Share on other sites More sharing options...
MarcoPavan Posted September 21, 2017 Author Share Posted September 21, 2017 SOLVED!!!!! Using Delphi 10.2 Tokyo all works fine also on iPad, iPhone etc Maybe there is some kind of limitation/bug on Delphi XE8 version... Thank you again. Bye M Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now