react-native-unity icon indicating copy to clipboard operation
react-native-unity copied to clipboard

Cannot use namespace 'UnityView' as a type.

Open CYaranga opened this issue 9 months ago • 1 comments

Probably this is a very beginner issue but others might have it to. In the attached image, I have an issue with the declarative of UnityView as a Type. I'm uysing Expo, ReactNative and typeScript Image

CYaranga avatar Feb 19 '25 01:02 CYaranga

Hey, first i had the same issue when using typescript, don't know how to fix it , what worked for me was using js. second if your gonna use expo, even if the Doc (.readme) say that it supports expo, it doesn't , check this issue Issue #142 to see how to generate react native code, then follow the .readme on how to set up android without expo. if you need help setting it up @ me.

Omaryehya21 avatar Feb 20 '25 02:02 Omaryehya21