Skip to main content

react-native-tracker.coreplugin.deactivateplugin

Home > @snowplow/react-native-tracker > CorePlugin > deactivatePlugin

CorePlugin.deactivatePlugin property

Called when the tracker is being destroyed. Should be used to clean up any resources or listeners that the plugin has created.

Signature:
deactivatePlugin?: (core: TrackerCore) => void;