I have a web app to display PDF content in a HTMLview. It is worked if URL is called at PC browser (google chrome). However, it showed blank if i have a native app which use location.href=url
Connect a remote debugger to your app - you should see error messages when it tries to access the file. You have to give your app permission to access the file.