Skip to content

yaroslav0507/cordova-plugin-toaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NPM package for android native toasts in cordova

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published