How to set draco decoder in React Native?

Hi,

I would like to load Draco compressed models in an offline React Native app. Since all assets are renamed when compiling the React Native app, the decoder cannot be found if I set the path with ‘dracoLoader.setDecoderPath()’.

Is there any way to predefine the filenames the decoder will look for? Or to pass the files themselves to the DracoLoader?

Best

I have now made some alternative attempts. This works fine in Node, but unfortunately the whole thing still doesn’t work in React Native, because the node standard libraries like ‘path’ or 'fs ’ are not present there.

Is there really no way to load a Draco compressed model offline in React Native?