No need to follow the example as is; just keep the exposed concepts.
If I correctly understood a previous message of you, you'd like to load different layouts based on the success/fail test about a new version of your app.
So, you use lib's functions to:
1. read current version from running app
2. read remote (web) version from your config file
3. compare the two values and decide which layout to show.
The only critical point is that each AU function returns a status (int variable) in sub xxx_UpdateComplete (xxx is the name you gave it as second parameter for AU.Initialize)
and before you can execute step 3 you have to be sure that preceding steps returned no errors.
To reply to your post #6 above: yes, the lib downloads your config file, parse it and set internal variable for WebVN. But since it looks the download never completes, that var remains set to an empty values, so the error about the wrong format.
My comment was about the possibility that you execute step2 and step3 one after the other, not waiting for step2 to be properly completed (we should expect an error due to failing download)
Sincerely, reading the post by
@DonManfred I thought that was the right solution. A clear cause because the server don't come back (or at least it should fail somehow and something should show in the logs).
Anyway, do you mind to publish some code from your Main so we can see how the flow is organized? Even the whole Main, if possible. Obviously you can modify critical data as webiste/username/password.
Note: since today is the last day before another not clearly defined lockdown, I will spend the day at the beach and so won't be able to be back to you before this evening. I am sure that others would help in the meantime. This is a gret community.