Is it possible to programmatically restart the React Native application without writing my own code?
For example, I know from the answer to this question that I can restart the Android application using
Intent i = getBaseContext().getPackageManager() .getLaunchIntentForPackage( getBaseContext().getPackageName() ); i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(i);
Can I do the same with React Native?
android ios react-native
Adam jakiela
source share