File Viewer Plugin

A file viewing and sharing plugin based on the Web Intents plugin by Boris Smus
Tommy-Carlos Williams - tommy@devgeeks.org0.4.08
platforms: android,ios
$ cordova plugin add com.spideroak.fileviewerplugin


Cordova File Viewer (as well as Sharing) Plugin for Android and iOS.

The Android side is based on the WebIntent plugin by Boris Smus (@borismus) - This has been modified to only contain the parts needed and some methods were renamed, etc.

The iOS side uses UIActivityViewController and UIDocumentInteractionController.

It was created for the SpiderOak Mobile Client project -

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.

Follows the Cordova Plugin spec, so that it works with the Cordova CLI tools.

cordova plugin add

phonegap local plugin add