Update README.md

This commit is contained in:
pwlin 2017-04-20 21:44:42 +02:00 committed by GitHub
parent 10253b6b69
commit d08f767a4c

View File

@ -64,12 +64,23 @@ 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
---
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', {
@ -81,7 +92,8 @@ 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', {