-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi 👋
Calling MIDIVal.connect() results in the following error:
TypeError: Cannot read property 'getMidiDevices' of null
at connect
The App.tsx:
MIDIVal.configureAccessObject(new ReactNativeMIDIValAccess() as unknown as IMIDIAccess);
export default function App() {
const [access, setAccess] = useState<IMIDIAccess>();
console.log(access);
useEffect(() => {
MIDIVal.connect().then(setAccess);
}, []);
return (
<View style={styles.container}>
<Text>Hello, World!</Text>
</View>
);
}
Device: iOS
Package: "@midival/react-native": "^0.0.2"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels