0.2.4 • Published 10 months ago

@hyperledger/anoncreds-react-native v0.2.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Anoncreds React Native

Wrapper for React Native around anoncreds

Requirements

This module uses the new React Native Turbo Modules. These are faster than the previous Native Modules, and can be completely synchronous. A React Native version of >= 0.66.0 is required for this package to work.

Installation

yarn add @hyperledger/anoncreds-react-native

Usage

You can import all types and classes from the @hyperledger/anoncreds-react-native library:

import { Schema } from '@hyperledger/anoncreds-react-native'

const schema = Schema.create({
  name: 'test',
  version: '1.0',
  issuerId: 'mock:uri',
  attributeNames: ['name', 'age', 'address']
})

// JSON representation
const schemaJson = schema.toJson()

// This can be used as a deconstructor to clear the internal reference to
// the anoncreds object
schema.handle.clear()

Note: If you want to use this library in a cross-platform environment you need to import methods from the @hyperledger/anoncreds-shared package instead. This is a platform independent package that allows to register the native bindings. The @hyperledger/anoncreds-react-native package uses this package under the hood. See the Anoncreds Shared README for documentation on how to use this package.

0.2.3

10 months ago

0.2.4

10 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.0-dev.11

1 year ago

0.2.0-dev.10

1 year ago

0.2.0-dev.9

1 year ago

0.2.0-dev.8

1 year ago

0.2.0-dev.7

1 year ago

0.2.0-dev.6

1 year ago

0.2.0-dev.2

2 years ago

0.2.0-dev.3

2 years ago

0.2.0-dev.1

2 years ago

0.2.0-dev.4

2 years ago

0.2.0-dev.5

2 years ago

0.1.0

2 years ago

0.1.0-dev.17

2 years ago

0.1.0-dev.16

2 years ago

0.1.0-dev.19

2 years ago

0.1.0-dev.18

2 years ago

0.1.0-dev.13

2 years ago

0.1.0-dev.12

2 years ago

0.1.0-dev.11

2 years ago

0.1.0-dev.10

2 years ago

0.1.0-dev.15

2 years ago

0.1.0-dev.14

2 years ago

0.1.0-dev.9

2 years ago

0.1.0-dev.8

2 years ago

0.1.0-dev.7

2 years ago

0.1.0-dev.6

2 years ago

0.1.0-dev.5

2 years ago

0.1.0-dev.4

2 years ago