1.3.1 • Published 1 year ago

@jolocom/native-core-react-native v1.3.1

Weekly downloads
50
License
-
Repository
github
Last release
1 year ago

Jolocom Native Core Bindings

This package contains Node and React Native bindings for jolocom/wallet-rs and jolocom/keriox

This is intended to be used through jolocom/vaulted-key-provider

It was originally based on the amazingReact Native Substrate Sign, from Parity.

Build and Develop

Requirements

  • node.js ( >=10)
  • yarn (tested on 1.6.0)
  • rustup (tested on rustup 1.21.0)
  • rustc (tested on rustc 1.41.1, from 1.42.0 rust dropped 32-bit apple target support)
  • cargo (tested on cargo 1.41.0)
  • android_ndk (tested on r21, can be downloaded here)
  • $NDK_HOME envarionment variable set to ndk home directory (eg. /usr/local/opt/android-ndk)

* It's recommended to install Android Studio and use that to install the necessary build tools and SDKs for the Android version you want to test on. It's also the best way to test in the emulator.

Setup

  • Use the following script to install the required rust toolchains.
./scripts/init.sh

Develop

After update the rust code, you need to change the following files for updating the interface to native android and ios code.

  • ios/core.h
  • ios/JolocomCore.m
  • ios/JolocomCore.swift
  • android/src/main/java/io/jolocom/JolocomCoreModule.java
  • index.js
  • index.d.ts

Test

  • To run the rust test
yarn test

Build

  • Use the following script to build the dynamic library for Android and static library for iOS.
./scripts/build.sh
1.3.1

1 year ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0-rc6

4 years ago

1.1.0-rc5

4 years ago

1.1.0-rc4

4 years ago

1.1.0-rc3

4 years ago

1.1.0-rc1

4 years ago

1.1.0-rc0

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.21

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.12

4 years ago

1.0.6

4 years ago