Fresco Module
Module to initialize the Fresco library.
Does not expose any methods to JavaScript code. For initialization and cleanup only.
Constructors
Create a new Fresco module with a default configuration (or the previously given configuration via .FrescoModule.
Functions
Return true if you intend to override some other native module that was registered e.g. as part of a different package (such as the core one). Trying to override without returning true from this method is considered an error and will throw an exception during initialization. By default all modules return false.
Initialize the TurboModule.
Called during the turn down process of ReactHost. This method is called before React Native is stopped. Override this method to clean up resources used by the TurboModule.
Allow NativeModule to clean up. Called before {CatalystInstance#onHostDestroy}
Called when host activity receives destroy event (e.g. Activity.onDestroy. Only called for the last React activity to be destroyed.
Called when host activity receives pause event (e.g. Activity.onPause. Always called for the most current activity.
Called either when the host activity receives a resume event (e.g. Activity.onResume or if the native module that implements this is initialized while the host activity is already resumed. Always called for the most current activity.