Excpetion "EXCEPTION: Error: Uncaught (in promise): Failed to load file" is shown into iOS Console

Solution Verified - Updated -

Issue

  • App reports "Failed to load file" in the device log
  • Hybrid app works fine on Android but hangs on iOS
  • Excpetion "EXCEPTION: Error: Uncaught (in promise): Failed to load file" is shown into iOS Console.

Following an example of this log.

EXCEPTION: Error: Uncaught (in promise): Failed to load file:///var/containers/Bundle/Application/5D7E8623-F13A-437D-9F5DFA4E0B79C711/test.app/www/app/+home/test.component.css

Environment

  • Red Hat Mobile Application Platform (RHMAP) - v3
  • iOS
  • Cordova v3.9.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content