I\'m building a react native module, from my module I send a PendingIntent like this.
Intent postAuthorizationIntent = new Intent(\"com.example.HANDLE_AUTHOR
Ok I solved the issue.
public class RNSsfAuthModule extends ReactContextBaseJavaModule implements ActivityEventListener, Application.ActivityLifecycleCallbacks{
....
public ExampleModule(ReactApplicationContext reactContext, Application application) {
super(reactContext);
...
reactContext.addActivityEventListener(this);
application.registerActivityLifecycleCallbacks(this);
}
...
@Override
public void onActivityStarted(Activity activity) {
checkIntent(activity.getIntent());
}
}