Skip to content

Cordova File Viewer Plugin for Android based on the WebIntent plugin by Boris Smus

License

Notifications You must be signed in to change notification settings

SpiderOak/FileViewerPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) - 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.

The iOS side uses UIActivityViewController and UIDocumentInteractionController.

It was created for the SpiderOak Mobile Client project - https://github.com/SpiderOak/SpiderOakMobileClient

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 https://github.com/SpiderOak/FileViewerPlugin.git

phonegap local plugin add https://github.com/SpiderOak/FileViewerPlugin.git

About

Cordova File Viewer Plugin for Android based on the WebIntent plugin by Boris Smus

Resources

License

Stars

Watchers

Forks

Packages

No packages published