When I run my app on debug mode I received "Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome"

Viewed 163

Image:

enter image description here

Text:

Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome. Consider providing alternative methods to expose this method in debug mode, e.g. by exposing constants ahead-of-time.

Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.

0 Answers
Related