| 8 | import android.os.Bundle; |
| 9 | |
| 10 | public class MainActivity extends ReactActivity { |
| 11 | |
| 12 | @Override |
| 13 | protected void onCreate(Bundle savedInstanceState) { |
| 14 | SplashScreen.show(this); // here |
| 15 | super.onCreate(savedInstanceState); |
| 16 | } |
| 17 | /** |
| 18 | * Returns the name of the main component registered from JavaScript. |
| 19 | * This is used to schedule rendering of the component. |
| 20 | */ |
| 21 | @Override |
| 22 | protected String getMainComponentName() { |
| 23 | return "dryvofront"; |
| 24 | } |
| 25 | |
| 26 | @Override |
| 27 | protected ReactActivityDelegate createReactActivityDelegate() { |
| 28 | return new ReactActivityDelegate(this, getMainComponentName()) { |
| 29 | @Override |
| 30 | protected ReactRootView createRootView() { |
| 31 | return new RNGestureHandlerEnabledRootView(MainActivity.this); |
| 32 | } |
| 33 | }; |
| 34 | } |
| 35 | |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected