I had the same issue and it was resolved by simply adding following import statement in MainApplication.java
:
import com.facebook.react.BuildConfig;
More Related Contents:
- Conditional Text Rendering in React Native
- Render HTML in React Native
- How to build .ipa application for react-native-ios? [closed]
- React Native: Possible unhandled promise rejection
- How to upload file to server using react-native
- React-native fetch() from https server with self-signed certificate
- React Native error: “Could not determine java version from ‘9.0.1’.”
- react-native-fbsdk error: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’
- Want to share multiple images with separate caption to each image Whatsapp, react native share
- React Native Error: ENOSPC: System limit for number of file watchers reached
- How to navigate between different nested stacks in react navigation
- Unable to resolve module ‘AccessibilityInfo’, when trying to create release bundle
- componentWillMount is deprecated and will be removed in the next major version 0.54.0 in React Native
- ES6, how can you export an imported module in a single line?
- FlatList inside ScrollView doesn’t scroll
- How to make Metro (React Native packager) ignore certain directories
- Renaming a React Native project?
- Invariant Violation: requireNativeComponent: “RNSScreen” was not found in the UIManager
- React-native: How to control what keyboard pushes up
- KeyboardAvoidingView not Working Properly
- React-Native, Scroll View Not Scrolling
- Getting “Cannot read property ‘pickAlgorithm’ of null” error in react native
- Auto scale image height with React Native
- However, this package itself specifies a `main` module field that could not be resolved
- emulator-5554 unauthorized for adb devices
- React Native – React Navigation transitions
- How to set default font family in React Native?
- JSON Parse error: Unrecognized token’
- What is react-native link?
- Call child function from parent component in React Native