@virgilsecurity/e3kit-native
TypeScript icon, indicating that this package has built-in type declarations

3.0.5 • Public • Published

Virgil E3Kit SDK for React Native

Virgil E3Kit SDK is also available on other platforms:

Installation

Install @virgilsecurity/e3kit-native

npm install @virgilsecurity/e3kit-native

Also you need to install several mandatory dependencies that aren't bundled in the package:

Tip: carefully follow the installation guides of each library to avoid problems in future.

Usage

import AsyncStorage from '@react-native-community/async-storage';
import { EThree } from '@virgilsecurity/e3kit-native';

// Promise
EThree.initialize(tokenCallback, { AsyncStorage })
    .then(eThree => {
        // register user, encrypt, decrypt, etc.
    });

// async/await
const eThree = await EThree.initialize(tokenCallback, { AsyncStorage });
// register user, encrypt, decrypt, etc.

You need to explicitly pass AsyncStorage implementation to E3Kit. Otherwise an app will crash.

Further reading

You can find detailed guides on library usage here.

License

This library is released under the 3-clause BSD License.

Support

Our developer support team is here to help you. Find out more information on our Help Center.

You can find us on Twitter or send us email support@VirgilSecurity.com.

Also, get extra help from our support team on Slack.

Readme

Keywords

none

Package Sidebar

Install

npm i @virgilsecurity/e3kit-native

Weekly Downloads

58

Version

3.0.5

License

BSD-3-Clause

Unpacked Size

1.24 MB

Total Files

8

Last publish

Collaborators

  • rstp
  • ddain
  • mbalyaba