RN 0.7.0 support.
This commit is contained in:
parent
b9f4120c44
commit
2ddb633255
|
@ -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';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
var NativeModules = require('NativeModules');
|
||||
var { NativeModules } = require('react-native');
|
||||
var RNKeychainManager = NativeModules.RNKeychainManager;
|
||||
|
||||
var Keychain = {
|
||||
|
|
Loading…
Reference in New Issue