Skip to content

javabrown/iVault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phonegap-plugin-vault

A phonegap 3.x plugin to store and retrieve sercure data such as password, credit-card data into keychain of ios plateform.

⚠️ Report issues on the Apache Cordova issue tracker

Installing

You may use phonegap CLI as follows:

➜ phonegap local plugin add https://github.com/javabrown/vault.git
[phonegap] adding the plugin: https://github.com/javabrown/vault.git
[phonegap] successfully added the plugin

##iOS keychain internal design

Using

The code below can be placed into script tag.

		document.addEventListener('deviceready', onDeviceReady);
		function onDeviceReady() {
			window.vault = cordova.require("cordova.plugin.vault.vault");
		}
		function store(key, value) {
			vault.set(key, value, win, fail);
		}
		function retrieve(key) {
			keychain.get(win, fail);
		}
		function win(status) {
			alert('Message: ' + status);
		}
		function fail(status) {
			alert('Error: ' + status);
		}

About

iOS Vault for secure data storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors