RN 0.7.0 support.

This commit is contained in:
Joel Arvidsson 2015-07-06 12:49:20 +02:00
parent b9f4120c44
commit 2ddb633255
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Currently functionality is limited to just storing internet and generic password
See `KeychainExample` for fully working project example.
```js
var Keychain = require('Keychain');
var Keychain = require('react-native-keychain');
var username = 'zuck';
var password = 'poniesRgr8';

View File

@ -3,7 +3,7 @@
*/
'use strict';
var NativeModules = require('NativeModules');
var { NativeModules } = require('react-native');
var RNKeychainManager = NativeModules.RNKeychainManager;
var Keychain = {