Vizir/react-native-paypal

what is otherModulesHandlers(requestCode, resultCode, data)

jojonarte opened this issue · 2 comments

It is on

` @OverRide
public void onActivityResult(final int requestCode, final int resultCode, final Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == PAY_PAL_REQUEST_ID) {
payPalPackage.handleActivityResult(requestCode, resultCode, data); // <--
} else {
otherModulesHandlers(requestCode, resultCode, data); //<--

    }
 }`

I wonder what it does? It is not an available module.

Hey @jojonarte,

That otherModulesHandlers is an example for other activity handlers that your app may have. For exemple, a Facebook Login activity handler, etc.

If do not have any activities to handle, just ignore this because you do not need it.

Oh thanks man now closing this.