Test

The JavaScript API exposes a method to force a crash to be triggered. In order to avoid accidental triggering of a crash in production, this method is hard-coded to work only if the following conditions are met:

The environment is set to dev.

Crash Reporter module is installed.

Crash Reporter module was successfully initialized.

The variable forceCrash is present in the data layer.

If the above conditions are met, you may trigger a crash by issuing a tracking call containing the variable forceCrash.
Example:

tealium.trackView({"forceCrash":"true"});

Uninstall

To remove the Ad Identifier plugin, run:

cordova plugin rm tealium-cordova-crashreporter

Also be sure to remove the isCrashReporterEnabled flag from the config object when initializing the main Tealium plugin.