GithubHelp home page GithubHelp logo

sokolby / cordova-plugin-document-viewer-sample-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sitewaerts/cordova-plugin-document-viewer-sample-app

0.0 1.0 0.0 5.35 MB

Sample App for SitewaertsDocumentViewer Plugin

License: MIT License

Shell 5.53% Batchfile 5.13% CSS 8.16% HTML 4.92% JavaScript 76.26%

cordova-plugin-document-viewer-sample-app's Introduction

Sample App for SitewaertsDocumentViewer Plugin

Sample app for https://github.com/sitewaerts/cordova-plugin-document-viewer.

Requirements

  • iOS 6+
  • Android 4.1+
  • Windows 8.1
  • Cordova/Phonegap >=3.7.0

Installing Cordova

https://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-Line%20Interface

Building the app

Check out the sample app and the viewer plugin to the same base directory

git clone https://github.com/sitewaerts/cordova-plugin-document-viewer-sample-app.git
git clone https://github.com/sitewaerts/cordova-plugin-document-viewer.git

Windows (configured for Android or Windows development)

JAVA_HOME should point to a jdk 1.8 directory.

Open a command prompt and go to the directory where you checked out the projects

cd cordova-plugin-document-viewer-sample-app
create_app.bat
run_app.bat

Whenever you change something in the app or the plugin sources:

update_app.bat
run_app.bat

OSX (configured for iOS and Android development)

same as above with .sh instead of .bat files

you may have to execute "chmod +x [filename]" for each of the scripts first

Running and Debugging via IDE

If you want to run the app from an IDE like Xcode/Eclipse/VisualStudio but work on html/js/css in root www directory:

  1. create_app.sh|bat (only once)
  2. update_app.sh|bat (this reinstalls the linked plugins)
  3. prepare_app.sh|bat (this migrates src changes in project root to the folders in the IDE project)
  4. run App from IDE

cordova-plugin-document-viewer-sample-app's People

Contributors

livven avatar phibo23 avatar regnete avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.