on Host Resume
open fun onHostResume(@Nullable activity: Activity, defaultBackButtonImpl: DefaultHardwareBackBtnHandler)
Use this method when the activity resumes to enable invoking the back button directly from JS.
This method retains an instance to provided mDefaultBackButtonImpl. Thus it's important to pass from the activity instance that owns this particular instance of , so that once this instance receive onHostDestroy event it will clear the reference to that defaultBackButtonImpl.
Parameters
default Back Button Impl
a DefaultHardwareBackBtnHandler from an Activity that owns this instance of ReactInstanceManager.
Use this method when the activity resumes.