expo-three & socket-io give a "Can't find variable: self" at compilation

Hi,
I have an issue using expo-three and socket.io with react-native and expo.
I’m able to implement an app that use socket and it’s compile with expo on my Ipad air,
I’m able to implement AR app with expo-three and it’s compile on Ipad air,

HOWEVER ! ^^’

When I add and just import expo-three from “expo-three” on the app that use socket io
It’s give me a Can’t find variable: self…
The inverse doesn’t work either…

Can't find variable: self

<unknown>
   polling-xhr.js:404:27
loadModuleImplementation
   require.js:292:12
<unknown>
   index.js:6:17
loadModuleImplementation
   require.js:292:12
<unknown>
   socket.js:5:24
loadModuleImplementation
   require.js:292:12
<unknown>
   index.js:2:24
loadModuleImplementation
   require.js:292:12
<unknown>
   manager.js:6:17
loadModuleImplementation
   require.js:292:12
<unknown>
   index.js:8:21
loadModuleImplementation
   require.js:292:12
<unknown>
   HomeScreen.js:22:18
loadModuleImplementation
   require.js:292:12
<unknown>
   MainTabNavigator.js:6
loadModuleImplementation
   require.js:292:12
<unknown>
   AppNavigator.js:4
loadModuleImplementation
   require.js:292:12
<unknown>
   App.js:4
loadModuleImplementation
   require.js:292:12
<unknown>
   AppEntry.js:2
loadModuleImplementation
   require.js:292:12
guardedLoadModule
   require.js:179:45
global code
   <unknown file>:0

It’s my first time posting here,
If I forget to provide some things don’t hesitate to tell me.

Hey @eroch,

If you can make a reproducible demonstration of this that I can run, and looks to be a bug, I can open up a GH issue for it.

Thanks!
Charlie

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.