Hi. Thanks for the example.
When i try your code I get again the following error:
[Error] XMLHttpRequest cannot load file:///var/mobile/Containers/Data/Application/C500078F-1FD2-43EC-A418-BBF0686E9FBB/Library/Caches/d00a72956e898ba4b1f05bd995912e49/deea684712127650165f68d34ccf76af/folio/data.json. Cross origin requests are only supported for HTTP.
(anonymous function) (index.js:66)
It works in the Adobe preflight app, but not in our test app.