installation
danger
React Native plugin has not been extensively tested yet. Feel free to test and contribute to it.
Installation
To start working with MIDIVal in React Native environment, you will need to install the following:
npm install --save @midival/core @midival/react-native
React Native should auto-link the libraries.
Plug React Native adapter
Before running any MIDIVal code run the following.
// For React Native
import { MIDIVal } from "@midival/core";
import { ReactNativeMIDIAccess } from "@midival/react-native";
MIDIVal.configureAccessObject(new ReactNativeMIDIAccess());
The rest of your code should remain the same. For tutorials about specific features just follow regular tutorials for web version.
Using with Expo
danger
Expo is not supported yet.