TypeError: Cannot read properties of undefined
kriit24 opened this issue · 0 comments
kriit24 commented
TypeError: Cannot read properties of undefined (reading 'UNMETERED')
Invariant Violation: "main" has not been registered. This can happen if:
- Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
- A module failed to load due to an error and
AppRegistry.registerComponent
wasn't called.
Installed with "yarn add react-native-background-job"
react-native link not needed because yarn adds automatic linking
also tried manual installation - same thing