Created
February 25, 2020 22:52
-
-
Save lrlineroa/cebbc7420b544c96b8d73d8a363e2c7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cerezabusiness.supercerebros; | |
import com.facebook.react.ReactActivity; | |
// react-native-splash-screen instalation | |
import org.devio.rn.splashscreen.SplashScreen; // here | |
import android.os.Bundle;//here | |
public class MainActivity extends ReactActivity { | |
/** | |
* Returns the name of the main component registered from JavaScript. This is used to schedule | |
* rendering of the component. | |
*/ | |
//react-native-splash-screen installation | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
SplashScreen.show(this); // here | |
super.onCreate(savedInstanceState); | |
} | |
@Override | |
protected String getMainComponentName() { | |
return "supercerebros"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment