NSB.initLanguage is not a function


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?

Thanks in advance for any help!

Kind regards,

Andreas Rozek

Does this happen only on your phone running iOS 9.3.5?

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.

iOS 9 is only on 0.6% of iPhones at this point.

Hello George!

Thank you very much for your quick response!

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…

Thanks for your effort!

Kind regards,

Andreas Rozek

AppStudio has just been uploaded. It should fix the problem.


my WebApp runs now!

Thank you very much for your effort!

Kind regards,

Andreas Rozek