diff --git a/README.md b/README.md index 16ee7e4..415fd83 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Usage ------ cordova.plugins.fileOpener2.open( filePath, - fileType, + fileMIMEType, { error : function(){ }, success : function(){ } @@ -60,11 +60,13 @@ Open a PDF document with the default PDF reader and optional callback object: Notes ------ -- For properly opening _any_ file, you must already have a suitable reader for that particular file type already installed on your device. Otherwise this will not work. +- For properly opening _any_ file, you must already have a suitable reader for that particular file type installed on your device. Otherwise this will not work. - [It is reported](https://github.com/pwlin/cordova-plugin-file-opener2/issues/2#issuecomment-41295793) that in iOS, you might need to remove `` from your `config.xml` +- If you are wondering what MIME-type should you pass as the second argument tp `open` function, [here is a list of all known MIME-types](http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=co) + Additional Android Functions -----------------------------