avishayil / react-native-restart

React Native Package With One Purpose: To Restart Your React Native Project
MIT License
941 stars 149 forks source link

null is not an object (evaluating '_reactNativeRestart.default.Restart') #198

Closed haifaash87 closed 1 year ago

haifaash87 commented 2 years ago

I face this error when restarting the app

null is not an object (evaluating '_reactNativeRestart.default.Restart')

I did manual linking but still not resolved.

Any idea to solve this problem?

vkondratievFutem commented 2 years ago

I have the same issue on RN 0.67.4

obarosa commented 2 years ago

Same Problem, do you know how to resolve? @haifaash87 @vkondratievFutem

RhysTowey commented 2 years ago

This works fine in 'production' mode (tested with RN 0.67.2). In 'dev' mode, try using DevSettings.reload() from https://reactnative.dev/docs/devsettings#reload