@moodlehq/cordova-plugin-inappbrowser

Moodle's fork of Cordova InAppBrowser Plugin

Usage no npm install needed!

<script type="module">
  import moodlehqCordovaPluginInappbrowser from 'https://cdn.skypack.dev/@moodlehq/cordova-plugin-inappbrowser';
</script>

README

cordova-plugin-inappbrowser (fork)

This is a fork of cordova-plugin-inappbrowser by Moodle HQ. If you are looking for the documentation, you can read the original at apache/cordova-plugin-inappbrowser.

Modifications from the original

We created this fork because we needed to include the following modifications in our mobile application:

| PR | Description | | -- | ----------- | | #883 | Allow loading local files in Android |

You can see all the changes here: 5.0.0...moodlemobile:v5.0.0-moodle.2

Installation

You can install this package using the original installation instructions, but installing this package instead:

cordova plugin add @moodlehq/cordova-plugin-inappbrowser@5.0.0-moodle.2

Depending on your cordova version, this command will add the plugin to your package.json as cordova-plugin-inappbrowser (for example, under cordova.plugins). In that case, you also need to add @moodlehq/cordova-plugin-inappbrowser so that the project restores the fork properly in other machines. Make sure that it is listed before the unscoped plugin name.