Socket
Socket
Sign inDemoInstall

expo-secure-store

Package Overview
Dependencies
0
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    expo-secure-store

Provides a way to encrypt and securely store key–value pairs locally on the device.


Version published
Maintainers
1
Install size
75.1 kB
Created

Readme

Source

expo-secure-store

Provides a way to encrypt and securely store key–value pairs locally on the device.

API documentation

  • Documentation for the master branch
  • Documentation for the latest stable release

Installation

This package is pre-installed in managed Expo projects. You may skip the rest of the installation guide if this applies to you.

For bare React Native projects, you must ensure that you have installed and configured the @unimodules/core package before continuing.

Add the package to your npm dependencies

npm install expo-secure-store

Configure for iOS

Add the dependency to your Podfile and then run pod install.

pod 'EXSecureStore', path: '../node_modules/expo-secure-store/ios'

Configure for Android

  1. Append the following lines to android/settings.gradle:
include ':expo-secure-store'
project(':expo-secure-store').projectDir = new File(rootProject.projectDir, '../node_modules/expo-secure-store/android')
  1. Insert the following lines inside the dependencies block in android/app/build.gradle:
api project(':expo-secure-store')
  1. In MainApplication.java, import the package and add it to the ReactModuleRegistryProvider list:
import expo.modules.expo.modules.securestore.SecureStorePackage;
private final ReactModuleRegistryProvider mModuleRegistryProvider = new ReactModuleRegistryProvider(Arrays.<Package>asList(
  // Your other packages will be here
  new SecureStorePackage()
), Arrays.<SingletonModule>asList());

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Keywords

FAQs

Last updated on 27 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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