react-native-gl-model-view icon indicating copy to clipboard operation
react-native-gl-model-view copied to clipboard

obj file doesn't show up in apk version

Open hhj0988a opened this issue 3 years ago • 2 comments
trafficstars

Hi, this project might be stopped but I need help. The 3D model show up normally after I create assets folder and copy my obj file to it in develope mode. But after eas build (expo - apk) ,it does not show up. I think eas does not include assets folder that I made.

So I tried to save the file using file system library. But it look like directory path never work.

Is there an any way to load .obj file from file-system not in assets folder? My application should be used in internal network system (no internet) so I can't use uri.

hhj0988a avatar Sep 19 '22 02:09 hhj0988a

Hi, this project might be stopped but I need help. The 3D model show up normally after I create assets folder and copy my obj file to it in develope mode. But after eas build (expo - apk) ,it does not show up. I think eas does not include assets folder that I made.

So I tried to save the file using file system library. But it look like directory path never work.

Is there an any way to load .obj file from file-system not in assets folder? My application should be used in internal network system (no internet) so I can't use uri.

can use network url. now you are using expo develope your app?

lap888 avatar Oct 04 '22 02:10 lap888

I did it by using plugin to copy file. But now I have another issue. I made custom 3d model. But it is not showing and got error "Couldn't read file from InputStream". But my file work very well with online 3d viewer (https://3dviewer.net/) Is there a limit size for .obj file ??

hhj0988a avatar Nov 15 '22 01:11 hhj0988a