SmashinFries / rn-vrm-viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VRM React Native - Proof of Concept

preview

Overview

A demo app that demonstrates how vrm models can be loaded in React Native. This is basically a test run before implementing into a larger project.

Main Libraries

expo-document-picker can be used for loading models on mobile (as well as web). May add this to the demo later. Currently, models are added by drag/drop

Platforms (RN 0.71.4)

Web

Runs great with no issues - as expected.

Android

Will receive app breaking errors without manually patching React Native. After patching, there will be issues with loading the model (blob). I have listed some possible fixes below.

Potential Fixes

  1. Changes to RN itself #36332
  2. I think react-native-blob-jsi-helper is needed but doesn't seem to work with RN 0.71+: possible fix

iOS

I don't own a Mac so I am unable to test.

About


Languages

Language:TypeScript 64.4%Language:Java 18.5%Language:Ruby 7.3%Language:Objective-C++ 6.2%Language:JavaScript 2.9%Language:Objective-C 0.7%