Skip to content

Commit 42e14a0

Browse files
committed
Updated README a bit for iOS
1 parent 1f7182d commit 42e14a0

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
FileViewerPlugin
22
================
33

4-
Cordova File Viewer Plugin for Android based on the WebIntent plugin by Boris Smus (@borismus) - https://github.com/phonegap/phonegap-plugins/tree/master/Android/WebIntent
4+
Cordova File Viewer (as well as Sharing) Plugin for Android and iOS.
55

6-
This has been modified to only contain the parts needed and some methods were renamed, etc.
6+
The Android side is based on the WebIntent plugin by Boris Smus (@borismus) - [https://github.com/phonegap/phonegap-plugins/tree/master/Android/WebIntent](https://github.com/phonegap/phonegap-plugins/tree/master/Android/WebIntent). This has been modified to only contain the parts needed and some methods were renamed, etc.
77

8-
It was created for the SpiderOak Mobile Client project - https://github.com/SpiderOak/SpiderOakMobileClient
8+
The iOS side uses `UIActivityViewController` and `UIDocumentInteractionController`.
9+
10+
It was created for the SpiderOak Mobile Client project - [https://github.com/SpiderOak/SpiderOakMobileClient](https://github.com/SpiderOak/SpiderOakMobileClient)
11+
12+
One downside of having been written for just Android first is that there are some Androidisms in the iOS plugin (such as passing `android.intent.extra.STREAM` in the extras params etc). Fixing this, and better documentation, will be done soon.
913

1014
Follows the [Cordova Plugin spec](https://github.com/alunny/cordova-plugin-spec), so that it works with the [Cordova CLI tools](https://github.com/apache/cordova-cli/).
15+
16+
`cordova plugin install https://github.com/SpiderOak/FileViewerPlugin.git`
17+
18+
`phonegap local plugin install https://github.com/SpiderOak/FileViewerPlugin.git`

0 commit comments

Comments
 (0)