Exploring JSI

Overview

react-native-jsi-trial

Exploring JSI

This repo got a minimal example of JSI of creating a multiply function in CPP and using it from JS

How to run the example

1 cd example
2 react-native run-android

If installation fails then, run this command inside example dir

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

Usage

import { JsiTrial } from 'react-native-jsi-trial';
const result = JsiTrial.multiply(69,56);
const deviceInfo=JsiTrial.getDeviceInfo()
const jsiUUID = JsiTrial.getJSIRandomUUID();
JsiTrial.getNativeRandomUUID((uuid) => {
        console.log(uuid);
});
You might also like...
Owner
Aditya Pahilwani
Hey there, let's build something.
Aditya Pahilwani
Exploring Spring and Sprinboot by building projects

Explore-Spring-Springboot Exploring Spring and Sprinboot by building projects Requirements Java-JDK: 17 IDE supporting Maven Integration: Intellij IDE

Deepraj 4 Sep 19, 2022
Boilerplate for creating a JSI (javascript interface) module.

react-native-jsi-boilerplate Boilerplate for module using jsi. Installation npm install react-native-jsi-boilerplate Usage import { multiply } from "r

Nick Griffith 0 Feb 10, 2022
Example React Native library written with JSI

react-native-jsi-example This is an example JSI Module for React Native that returns a value from C++ to JS synchronously. Implemented for just iOS. T

Enes 7 Mar 3, 2022
JavaWeb MemoryShell Inject/Scan/Killer/Protect Research & Exploring

Memory Shell JavaWeb MemoryShell Inject/Scan/Killer/Protect Research & Exploring 文章:JavaWeb 内存马一周目通关攻略 项目介绍 本项目用来学习和研究 JavaWeb 内存马添加和防御模式,共包含以下几个模块。 m

素十八 345 Dec 30, 2022
Exploring Spring and Sprinboot by building projects

Explore-Spring-Springboot Exploring Spring and Sprinboot by building projects Requirements Java-JDK: 17 IDE supporting Maven Integration: Intellij IDE

Deepraj 4 Sep 19, 2022
ORM16 is a library exploring code generation-based approach to ORM for Java 17 and focusing on records as persistent data model

About ORM16 ORM16 is a library exploring code generation-based approach to ORM for Java 17 and focusing on records as persistent data model. Example I

Ivan Gammel 1 Mar 30, 2022