HomeiOS Developmentios - React Native / Expo Prebuild – Native photographs not exhibiting...

ios – React Native / Expo Prebuild – Native photographs not exhibiting in TestFlight however work in simulator


I’m having a wierd challenge with my React Native (Expo prebuilt) iOS app. The whole lot works completely within the simulator, however after I take a look at it by way of TestFlight, the pictures and background photographs don’t seem. Nevertheless, animations (Lottie JSON) and textual content work wonderful.

I take advantage of require() to import photographs, like this:

****

What I’ve tried up to now:
• Added all photographs to the Copy Bundle Assets part in Xcode.
• Ensured photographs exist within the belongings/photographs/ folder.
• Verified picture paths are appropriate and case-sensitive.
• Ran npx react-native bundle:
npx react-native bundle
–entry-file index.ts
–platform ios
–dev false
–bundle-output ios/primary.jsbundle
–assets-dest ios

Rebuilt archive with expo prebuild, pod set up, and cleaned Xcode construct folder.
•   Upgraded Ruby and CocoaPods to resolve associated errors.

What could possibly be inflicting this challenge? Is there one thing else I ought to examine to make sure native photographs are appropriately bundled and seem in TestFlight?

Any recommendations or ideas could be enormously appreciated!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments