OpenTaxonomyValidation
Executes a number of validation rules to ensure the quality of the inbound data.
When ReactNativeTracker executes in development mode, all violations will be logged early to the console.
Installation
Bundled with @objectiv/tracker-core and thus included by default in ReactNativeTracker as well.
Implementation
Implements PluginInterface's validate
.
validate
The following rules are executed:
- ApplicationContext must be present once in Global Contexts.
- RootLocationContext must be present once in Location Stack at position 0.
isUsable
Always true; OpenTaxonomyValidationPlugin is always usable.