Hello 🙂
React Native does not have an official runtime yet.
The Spine player relies on WebGL, which has limited support in React Native as far as I know.
More well-known libraries like ThreeJS and PixiJS, which also use WebGL, have similar limitations. Setting them up requires several dependencies, significantly complicating your application.
In the past, a user took a completely different approach using spine-sfml
and SKIA. You can find their work here. However, as stated in the README, this is just an experimental project.
The approach they used is promising and will likely be what we pursue in the future to develop an official React Native runtime. Unfortunately, we don’t currently have the time to work on it.
For server-side rendering, you could try spine-canvaskit
.