mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-03-15 22:21:01 +08:00
Update README.md
This commit is contained in:
parent
10253b6b69
commit
d08f767a4c
18
README.md
18
README.md
@ -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', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user