cordova-plugin-toaster

0.0.2 • Public • Published

npm version

Cordova Toaster Plugin

This plugin provides a way to use native toasts of android devices. Cordova Toaster Plugin

Installation

cordova plugin add cordova-plugin-toaster

This plugin defines methods on navigator.notification and navigator.

Although in the global scope, they are not available until after the deviceready event.

Usage example:

document.addEventListener("deviceready", onDeviceReady, false);

function onDeviceReady() {
    navigator.showToast('Your toast\'s text here');
}

Methods

  • showToast - to show toast

Supported Platforms

  • Android

Interface

Interface

Package Sidebar

Install

npm i cordova-plugin-toaster

Weekly Downloads

1

Version

0.0.2

License

Apache 2.0

Last publish

Collaborators

  • yaroslav0507