Flowcode Developer's web export question re IOS Safari browser display

Discuss PC Developer and Web Developer projects and features here.
Steve-Matrix
Matrix Staff
Posts: 1516
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 212 times
Been thanked: 351 times

Re: Flowcode Developer's web export question re IOS Safari browser display

Post by Steve-Matrix »

Thanks. The browser where it say just "Label" probably has JavaScript turned off.

As suspected though, the problem is with Apple not liking access to the Google API (or vice versa). This will affect the charts and gauges in Web Developer projects.

Steve-Matrix
Matrix Staff
Posts: 1516
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 212 times
Been thanked: 351 times

Re: Flowcode Developer's web export question re IOS Safari browser display

Post by Steve-Matrix »

I've managed to get a very old version of Safari working in a sandbox on my Windows PC which has allowed me to test a few things.

The attached is a simple project. The zip contains:
  • The .fcsx source file
  • ChartTest.html - the file created by Flowcode
  • ChartTest1.html - a file with a small edit from internet research
  • ChartTest2.html - a heavily-edited file that seems to work on Safari
It will be very interesting to see if either of the latter two files works for you.

Hopefully the "ChartTest1" file works as that is a modest change I need to make to Flowcode's output.

If only "ChartTest2" works, then the changes are too great for me to solve easily. A lot of them are due to lack of JavaScript support for essential code techniques. I suspect this lack of support is due to the browser being very old rather than an inherent issue with Safari.

I've got this working by using the console in Safari. Here are some steps that will help you work out why any of these files are not working. This works on the *old* version of Safari I have access to. Instructions might be different for you version, but this may help.
  • Load the html into Safari
  • In Safari's 'preferences', tick "Show Develop menu in menu bar"
  • In the menu, click "Develop > Start debugging JavaScript"
  • Click "Console" in the lower panel
  • Press F5 to reload the html - errors will be displayed in the console
  • Click the "Go" button - again, any errors will be displayed in the console
If you have problems with your project, hopefully the above info will allow you to report them so I can try to fix.
Attachments
ChartTest.zip
(19.13 KiB) Downloaded 3 times

Steve-Matrix
Matrix Staff
Posts: 1516
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 212 times
Been thanked: 351 times

Re: Flowcode Developer's web export question re IOS Safari browser display

Post by Steve-Matrix »

(Note: I've moved this topic to "App Developer" from "Embedded")

Post Reply