I tried to create restart with react-native-restart, but I get an error when calling RNRestart.Restart():
[Unhandled promise rejection: TypeError: null is not an object (evaluating '_reactNativeRestart.default.Restart')]
How do I implement reload in production ?
p.s. I use expo
you can use expo-updates just run expo install expo-updates and restart the app with the method reloadAsync
import * as Updates from 'expo-updates';
Updates.reloadAsync()