Initialise constructor of base class


I have a base class for Kotlin/React Native modules with this definition…

abstract class EstimoteBaseModule(reactContext: ReactApplicationContext?) : ReactContextBaseJavaModule(reactContext) {

I want to make a module from this along these lines…

class EstimoteRangingModule : EstimoteBaseModule() {

The problem is that it requires the base class to be initialised between the () and i have tried various things but am not sure how to pass the react context it wants between the ()

Could someone explain what I need here?


class EstimoteRangingModule(reactContext: ReactApplicationContext?) : EstimoteBaseModule(reactContext) {

I couldn’t see a way to delete or close my own question