diff --git a/README.md b/README.md index 4384cf5..494df24 100644 --- a/README.md +++ b/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', {