Update README.md

This commit is contained in:
pwlin 2017-04-20 21:49:58 +02:00 committed by GitHub
parent d08f767a4c
commit 46f83d72af

View File

@ -65,22 +65,21 @@ Notes
- If you are wondering what MIME-type should you pass as the second argument to `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 iOS Functions
-----------------------------
The following functions are available in iOS platform
---
The following functions are available in iOS platform:
`.showOpenWithDialog(fileName, contentType, callbackContext)`
showOpenWithDialog(fileName, contentType, callbackContext)
---
Same as `open` function, but this will show openWith dialog on iOS for sending files into another apps.
---
Additional Android Functions
-----------------------------
The following functions are available in Android platform
---
The following functions are available in Android platform:
`.uninstall(packageId, callbackContext)`
.uninstall(_packageId, callbackContext_)
---
Uninstall a package with its id.
cordova.plugins.fileOpener2.uninstall('com.zynga.FarmVille2CountryEscape', {
@ -92,8 +91,10 @@ Uninstall a package with its id.
}
});
.appIsInstalled(_packageId, callbackContext_)
---
`.appIsInstalled(packageId, callbackContext)`
Check if an app is already installed.
cordova.plugins.fileOpener2.appIsInstalled('com.adobe.reader', {
@ -106,6 +107,8 @@ Check if an app is already installed.
}
});
---
LICENSE
--------
The MIT License (MIT)