An open API service indexing awesome lists of open source software.

https://github.com/numandev1/react-native-jsi-boilerplate

React Native JSI boilerplate
https://github.com/numandev1/react-native-jsi-boilerplate

android boilerplate bridge cmake ios jni jsi jsi-modul react-native template

Last synced: 6 months ago
JSON representation

React Native JSI boilerplate

Awesome Lists containing this project

README

          

# react-native-jsi-boilerplate





This is just a boilerplate of JSI

## Prerequisites
You must have Android NDK and CMake installed on android to build the library.

## Methods
The following methods are implemented.

## Usage

```js
import JsiBoilerplate from 'react-native-jsi-boilerplate';

// ...

let helloWorld = JsiBoilerplate.helloWorld();

//...

let multipleResult = JsiBoilerplate.multiply(5, 6);

//...

JsiBoilerplate.multiplyWithCallback(5, 6, result => { });

//...

const deviceName = JsiBoilerplate.getDeviceName();

//...

JsiBoilerplate.setItem('test', 'test value');

//...

const result = JsiBoilerplate.getItem('test');
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT