After quite a while of inactivity, I upgraded AppStudio to the latest version (for macOS) and tried to run a simple “Hello, World!” on my iPhone (iOS 9.3.5, using Safari, Chrome, Firefox, Opera mini) - but failed…
Trying to find the reason for failure, I stumbled upon the exception
TypeError: NSB.initLanguage is not a function. (In ‘NSB.initLanguage()’, ‘NSB.initLanguage’ is undefined)
This message is the same for all tested browsers - thus, it looks like a common problem.
Nota bene: the same app does work under macOS using Chrome, though
Does anybody have any idea how to get rid of this problem?
Found the problem. Safari in iOS 9 does not support the JavaScript keyword var, which we used in some of the new code for PWA. It’s fixed in the next build.
While iOS 9 may not be no longer be used often, I’m using WebApps to give my older Tablets and Smartphones a “second life” - which works quite well (thanks to polyfills) unless even that approach fails…