Is there any support for ad mediation?

Say I need to work on some SDK that does:

PublisherAdView mPubAdView;//init

mPubAdView.setAdListener(new AdListener() {


public void onAdLoaded() {

//custom ad sdk logic



How could that be implemented on top of react-native-firebase?

What comes to mind is either forking the repo which seems painful for ongoing maintenance.

Creating a new npm RN package that depends on this one and extend the RNFirebase*.java classes appropriately.

Some package that accesses this package using some reflection API to inject the right callbacks into the (my least preference of course)