Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
de-core-plugin / docs / index.md
Size: Mime:

Title: Core Plugin Description: Dynamic Engine Core Plugin for Cordova Author: Vipera 2017

de-core-plugin

This plugin defines a set of global objects (Storage,core.Security), which provides a set of API's for core functionalities, like local storage support, jailbreak/root detection, etc...

Although the object is attached to the global scoped DynamicEngine.plugins, it is not available until after the deviceready event.

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    console.log(DynamicEngine.plugins.Storage);
    console.log(DynamicEngine.plugins.core.Security);
}

Installation

This requires cordova 5.0+

cordova plugin add de-core-plugin

It is also possible to install via repo url directly ( unstable )

cordova plugin add git+https://gitlab.vipera.com/dynamic-engine/de-core-plugin.git

API Reference

Here you can find the API Reference.