react-native-tracker.trackercore.removeglobalcontexts
Home > @snowplow/react-native-tracker > TrackerCore > removeGlobalContexts
TrackerCore.removeGlobalContexts() method
Removes previously added global context, performs a deep comparison of the contexts or conditional contexts
Signature:removeGlobalContexts(contexts: Array<ConditionalContextProvider | ContextPrimitive | string>): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| contexts | Array<ConditionalContextProvider | ContextPrimitive | string> | An array containing either contexts or a conditional contexts |
void