-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello everyone !
I having an issue when i run npm start with expo in my android device (see just below) :

It seems that my delegateName is still null.
I have follow your instructions : I have named a new game object in my Unity scene (UICommandsDelegate) and attached it with the script (RNCommandsDelegate.cs), and I have declared this variable in my Unity.init(); in my App.js, as you can see here :
`import React, {PureComponent} from 'react';
import {View, Text, TouchableOpacity} from 'react-native';
import {Unity, UnityResponderView} from '@wowmaking/react-native-unity';
Unity.init('UICommandsDelegate');
Unity.addEventListener('test', e => {
console.warn(e);
});
class App extends PureComponent {
render() {
return (
<>
[...]`
What's wrong ? What am I missing ?
Thanks in advance for your precious help !
(I'm using Expo ~40.0.0, React Native 0.63.2 and Unity 2019.4.8f1)