On iOS, no extra development was needed because there is a notion of relative reference. So for example, if there is a reference to pdfname/pdfname.pdf from a plist located in the dir directory, then the app will understand that pdfname is at dir/pdfname/pdfname.pdf.
https://github.com/libreliodev/javascript/issues/195#issuecomment-73629051