Git Product home page Git Product logo

cordova-plugin-ionic-webview's Introduction

Ionic Web View

The Web View plugin for Cordova that is specialized for Ionic apps.

This is for cordova-plugin-ionic-webview @ 2.x, which uses the latest and greatest features and may not work with all apps. See Requirements and Migrating to 2.x.

๐Ÿ“– Documentation: https://beta.ionicframework.com/docs/building/webview

๐Ÿ“ฃ Support/Questions? Please see our Support Page for general support questions. The issues on GitHub should be reserved for bug reports and feature requests.

๐Ÿ’– Want to contribute? Please see CONTRIBUTING.md.

Requirements

  • iOS: iOS 10+ and cordova-ios 4+
  • Android: Android 5.0+ and cordova-android 6.4+

Migrating to 2.x

  1. Remove and re-add the Web View plugin:

    cordova plugin rm cordova-plugin-ionic-webview
    cordova plugin add cordova-plugin-ionic-webview@latest
    
  2. Apps are now served from HTTP on Android.

    • The origin for requests from the Web View is http://localhost:8080.
  3. Replace any usages of window.Ionic.normalizeURL() with window.Ionic.WebView.convertFileSrc().

    • For Ionic Angular projects, there is an Ionic Native wrapper:

      npm install @ionic-native/ionic-webview@beta
      

cordova-plugin-ionic-webview's People

Contributors

alsorokin avatar anandvnath avatar audreyso avatar cjpearson avatar danbucholtz avatar filmaj avatar ghenry22 avatar imhoffd avatar janpio avatar jcesarmobile avatar jgw96 avatar kelvinhokk avatar kesozjura avatar krishnagopinath avatar laidig avatar ltm avatar lucatorella avatar macdonst avatar manucorporat avatar matejkramny avatar mccraigmccraig avatar mlynch avatar mr-anonymous avatar nikhilkh avatar nphyatt avatar pablomaurer avatar shazron avatar stevengill avatar tabrindle avatar troyanskiy avatar

Stargazers

 avatar

Watchers

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