Last active
September 25, 2017 04:20
-
-
Save ThrowJojo/6c4922605fec373ee6eaa417a1716831 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.aproject | |
import android.app.Activity | |
import android.content.Intent | |
import android.os.Bundle | |
import android.os.PersistableBundle | |
import android.view.WindowManager | |
import com.facebook.react.ReactActivity | |
import com.facebook.react.ReactActivityDelegate | |
class MainActivity : ReactActivity() { | |
/** | |
* Returns the name of the main component registered from JavaScript. | |
* This is used to schedule rendering of the component. | |
*/ | |
override fun getMainComponentName(): String? { | |
return "AProject" | |
} | |
override fun onCreate(savedInstanceState: Bundle?, persistentState: PersistableBundle?) { | |
super.onCreate(savedInstanceState, persistentState) | |
// No man's land | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment