Created
December 29, 2018 06:53
-
-
Save radinreth/779dd094f06445f1a75e10817cdd0c17 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.rnsociallogin; | |
import android.content.Intent; | |
import com.facebook.react.ReactActivity; | |
public class MainActivity extends ReactActivity { | |
@Override | |
public void onActivityResult(int requestCode, int resultCode, Intent data) { | |
super.onActivityResult(requestCode, resultCode, data); | |
MainApplication.getCallbackManager().onActivityResult(requestCode, resultCode, data); | |
} | |
/** | |
* Returns the name of the main component registered from JavaScript. | |
* This is used to schedule rendering of the component. | |
*/ | |
@Override | |
protected String getMainComponentName() { | |
return "rnSocialLogin"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment