-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Absolutely nothing happens when trying to open local file! #192
Comments
Same problem right now. |
Sam problem with Method "showOpenWithDialog". |
hi @helenburns, thanks for raising this issue. Were you able to resolve it? |
I believe this issue is related to #67. Going to close this one as a duplicate. |
I am trying to open a local file, for which I have the correct path for, in the default app for that mime type. A PDF in this example.
FileOpener2 seemed like the only solution I bumped into, and seemed simple to implement, but absolutely nothing happens when I try to open the file... no errors, no successes, nothing! so I don't know where to start!
I know the path is right because this works:
window.open(path_and_file, '_blank', 'location=no,closebuttoncaption=Close,enableViewportScale=yes');
...but I need to be able to open it in an app that will allow the display of bookmarks and can have several files open at once, so the solution above is not really good enough.
So far I have added the plugin to my config.xml in the same way as I do all my other, correctly functioning plugins:
And have added the following code in place of the window.open code above:
...but literally nothing happens! No errors in the console, no file opening, no nothing! I'd move onto the next solution but I can't find another plugin out there that does the same!
The
path_and_file
variable is in local format, beginningfile:///var/mobile/Containers/Data/Application/...
Any help appreciated!
The text was updated successfully, but these errors were encountered: