Fresco
  constructor(reactContext: ReactApplicationContext?, imagePipeline: ImagePipeline?, clearOnDestroy: Boolean = true, hasBeenInitializedExternally: Boolean = false)
Create a new Fresco module with a default configuration (or the previously given configuration via .FrescoModule.
Parameters
react
the context to use
image
the Fresco image pipeline to use
clear
whether to clear the memory cache in onHostDestroy: this should be true for pure RN apps and false for apps that use Fresco outside of RN as well
has
whether Fresco has already been initialized
constructor(reactContext: ReactApplicationContext?, clearOnDestroy: Boolean = true, imagePipelineConfig: ImagePipelineConfig? = null)