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
- Host: GitHub
- URL: https://github.com/numandev1/react-native-jsi-boilerplate
- Owner: numandev1
- License: mit
- Created: 2021-08-12T18:15:51.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-02T13:29:01.000Z (over 3 years ago)
- Last Synced: 2025-02-05T18:50:50.174Z (8 months ago)
- Topics: android, boilerplate, bridge, cmake, ios, jni, jsi, jsi-modul, react-native, template
- Language: C++
- Homepage:
- Size: 446 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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