|
@@ -174,6 +174,7 @@ public abstract class BaseReactActivity extends AppCompatActivity implements Def
|
174
|
174
|
return rctManager.getReactInstanceManager();
|
175
|
175
|
}
|
176
|
176
|
|
|
177
|
+ @CallSuper
|
177
|
178
|
protected void handleOnCreate() {
|
178
|
179
|
if (getUseDeveloperSupport() && Build.VERSION.SDK_INT >= 23) {
|
179
|
180
|
// Get permission to show redbox in dev builds.
|
|
@@ -184,10 +185,6 @@ public abstract class BaseReactActivity extends AppCompatActivity implements Def
|
184
|
185
|
Toast.makeText(this, REDBOX_PERMISSION_MESSAGE, Toast.LENGTH_LONG).show();
|
185
|
186
|
}
|
186
|
187
|
}
|
187
|
|
-
|
188
|
|
- ReactRootView mReactRootView = createRootView();
|
189
|
|
- mReactRootView.startReactApplication(mReactInstanceManager, getMainComponentName(), getLaunchOptions());
|
190
|
|
- setContentView(mReactRootView);
|
191
|
188
|
}
|
192
|
189
|
|
193
|
190
|
@Override
|