mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
Update README.md
This commit is contained in:
parent
d08f767a4c
commit
46f83d72af
21
README.md
21
README.md
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user