Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- For some reason I had import com.facebook.react.BuildConfig; in my MainAplication file (I guess due to some smart ass auto import fixing feature of IntelliJ), and therefore BuildConfig.DEBUG was set to false. Because of this:
- public boolean getUseDeveloperSupport() {
- return BuildConfig.DEBUG;
- }
- React Native was always trying to load index.android.bundle from the app pacakge, not from the dev server. Removing the import com.facebook.react.BuildConfig line fixed the issue for me
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement