Socket
Socket
Sign inDemoInstall

react-native-keychain

Package Overview
Dependencies
0
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

6

index.js

@@ -143,3 +143,3 @@ // @flow

options?: Options
): Promise<UserCredentials> {
): Promise<false | UserCredentials> {
return RNKeychainManager.getInternetCredentialsForServer(server, options);

@@ -239,3 +239,3 @@ }

*/
export function requestSharedWebCredentials(): Promise<SharedWebCredentials> {
export function requestSharedWebCredentials(): Promise<false | SharedWebCredentials> {
if (Platform.OS !== 'ios') {

@@ -261,3 +261,3 @@ return Promise.reject(

username: string,
password: string
password: ?string
): Promise<void> {

@@ -264,0 +264,0 @@ if (Platform.OS !== 'ios') {

{
"name": "react-native-keychain",
"version": "4.0.0",
"version": "4.0.1",
"description": "Keychain Access for React Native",
"main": "index.js",
"files": [
"android",
"RNKeychain.xcodeproj",
"RNKeychainManager",
"typings",
"RNKeychain.podspec"
],
"scripts": {

@@ -7,0 +14,0 @@ "test": "flow"

@@ -11,7 +11,8 @@ <p align="center"><img src="https://user-images.githubusercontent.com/378279/36642269-6195b10c-1a3d-11e8-9e1b-37a3d1bcf7b3.png" align="center" width="150" height="201" alt="" /></p>

1. `$ yarn add react-native-keychain`
2. `$ react-native link react-native-keychain` and check `MainApplication.java` to verify the package was added.
3. Rebuild your project with `react-native run-ios/android`
1. Run `yarn add react-native-keychain`
See manual installation below if you have issues with `react-native link`.
1 a. **Only for React Native <= 0.59**: `$ react-native link react-native-keychain` and check `MainApplication.java` to verify the package was added. See manual installation below if you have issues with `react-native link`.
2. Run `pod install` in `ios/` directory to install iOS dependencies.
3. If you want to support FaceID, add a `NSFaceIDUsageDescription` entry in your `Info.plist`.
4. Re-build your Android and iOS projects.

@@ -18,0 +19,0 @@ ## Usage

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc