Hello!
i have a simple question.
if i open a new screen i want to open a website. if i do this (tryed webviewer - also activity-starter) then the page was displayed (yeah) but not the live site! i see only the site on point of compiling. what´s wrong ?
TIMAI2
December 19, 2021, 2:42pm
2
Please show your relevant blocks. If you are loading a local html file it will show that, if you are loading a url from the internet, it should show the most current version
TIMAI2
December 19, 2021, 2:58pm
4
OK, that is your designer view not your blocks view.
I see you are loading an http site (not https). Is this running on a local server or is this on the internet?
1 Like
I don´t use blocks. i only want to open a url. the url is correct (http://...)
the app opens the given .url but if changed the content of website the app doesn´t notice that
TIMAI2
December 19, 2021, 3:06pm
7
You would need to reload the page in order to show changes, using clear caches (in the blocks) may help.
1 Like
that has no effect. i have tryed also:
change the content of website
reload - no effect
reinstall apk - no effect
i think MIT compiles the actual status of website into the app. otherwise i have no idea was happened
why so complicated of MIT to display a ordinary website ?
TIMAI2
December 19, 2021, 3:12pm
10
Can you share your aia project for testing?
yes... thank you!
Tinnitus.aia (1.3 MB)
TIMAI2
December 19, 2021, 3:27pm
12
I can't see anything wrong with the webviewer part of your app.
Try this example which demonstrates that AI2 does not hard code a web site
webviewChange.aia (1.8 KB)
as suggested you might also try these two blocks when reloading your web page
thank you! i will try it and send a report!
TIMAI2
December 19, 2021, 3:31pm
14
You also need to switch screens correctly
(you can drag this block onto your project.)
1 Like
i don´t want a extra button (reload etc) - i want to open a screen and the website have to come without any clicking. the app have to open the actual html. on the website there is no cockies - only plain html
if the "Webviewer HomeURL" was working there is no need to change the screens for me. but it doesn´t
TIMAI2
December 19, 2021, 3:51pm
19
Look in the Screen (About) drawer in the palette
hey I runs well! i can´t believe it! i thank you so much!
system
Closed
December 26, 2021, 4:03pm
21
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.