tylervz commented on issue #1080:
URL: https://github.com/apache/cordova-ios/issues/1080#issuecomment-785278715
Thank you for taking the time to look into this @breautek .
The following error
```
failed to load JavaScript resource:
sap/ui/demo/basicTemplate/Component-preload.js - sap.ui.ModuleSystem
```
is actually produced before you click on "Show Today's Date"; it's produced
when the applications loads. That error is present even when the application is
running without an issue, as you can see when running the app on iOS 14.
OpenUI5 by default attempts to load a preload file before fetching individual
controller and view files, but it does not need a preload file to run.
Likewise, with the similar error of this resource request failing to load
with a 404:
app://localhost/i18n/i18n_en_US.properties
That error is present even when the application is running without an issue
(on iOS 14) because OpenUI5 attempts to load the most specific i18n file it can
for the user and then falls back to `/i18n/i18n.properties`.
`/i18n/i18n.properties` is successfully being used by the app to provide
translations of text.
I agree that the issues documented in my sample app are most likely due to
the application trying to load a file that doesn't exist or isn't bundled in
the web assets; it's just not clear which specific file is the issue, since it
cannot be the ones mentioned above. And it's also puzzling why the app is able
to load this file when running on iOS 11, 13 and 14.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]