Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of the "Loading from pre-bundled file" message?

Tags:

react-native

After the launchscreen, but before app is loaded, there's a "Loading from pre-bundled file" message that appears at the top of the screen for just a few hundred milliseconds. I don't mind this in development but I still see this message while running on my phone. Here's how I created the bundle. Any ideas? Thanks.

react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output App/main.jsbundle --resetCache
like image 724
jamesfzhang Avatar asked Dec 22 '15 22:12

jamesfzhang


1 Answers

Change Build Configuration to release

To disable the developer menu and therefore your mentioned message, you should change your Build Configuration to Release.

For iOS open your project in Xcode and select Product → Scheme → Edit Scheme... (or press ⌘ + <). Next, select Run from the menu on the left and change the Build Configuration to Release.

like image 153
purii Avatar answered Nov 17 '22 05:11

purii