Skip to content

cranberrygame/cordova-plugin-exitappatsecond

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova ExitAppAtSecond plugin

Overview

Exit app at second on android and wp8.

[android, wp8] [cordova cli] [xdk] [phonegap build service]

This is open source cordova plugin.

You can see Cordova Plugins in one page: http://cranberrygame.github.io?referrer=github

Change log

Install plugin

Cordova cli

https://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-Line%20Interface - npm install -g cordova@6.0.0

cordova plugin add com.cranberrygame.cordova.plugin.exitappatsecond

Xdk

https://software.intel.com/en-us/intel-xdk - Download XDK - XDK PORJECTS - [specific project] - CORDOVA HYBRID MOBILE APP SETTINGS - Plugin Management - Add Plugins to this Project - Third Party Plugins -

Plugin Source: Cordova plugin registry
Plugin ID: cordova-plugin-exitappatsecond

## Cocoon ##
https://cocoon.io - Create project - [specific project] - Setting - Plugins - Search - cranberrygame - exitappatsecond

## Phonegap build service (config.xml) ##
https://build.phonegap.com/ - Apps - [specific project] - Update code - Zip file including config.xml
```c
<gap:plugin name="com.cranberrygame.cordova.plugin.exitappatsecond" source="plugins.cordova.io" />

Construct2

Server setting

API

document.addEventListener("deviceready", function(){
	
	//
	window.exitappatsecond.onExitAppAtSecond = function() {
		alert('onExitAppAtSecond');
	};
}, false);
</script>

window.exitappatsecond.exitAppAtSecond();

Examples

example/basic/index.html

Test

You can also run following test apk. https://dl.dropboxusercontent.com/u/186681453/pluginsforcordova/exitappatsecond/apk.html

Useful links

Cordova Plugins
http://cranberrygame.github.io?referrer=github

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published