The 1.1.0 release changed some API behavior. The following items in particular should be tested after upgrading:
If you were previously using theaddVolatile and addPersistent methods, please ensure that you are only storing supported data types specified above
On iOS, the plugin now runs most of its code on a background thread, except for the initialization method. This should not cause any issues, and should improve performance, but please test thoroughly and report any issues via the GitHub issues page.
The variable cordova_lifecycle, which was previously sent with all lifecycle events, has now been removed. If you still require this variable, you can create it again by using a Set Data Values extension in Tealium iQ, with a rule “if lifecycle_type is populated” to create the variable and add it to all lifeycle events.
On iOS, lifecycle sleep events are now tracked as soon as the user either puts the app into the background, or begins to close the app completely. This means when the user brings up the task switcher while an app is running by pressing the home button twice, a sleep event will be generated. If the user cancels the action and goes back into the app, a corresponding wake event will be generated. Previously, sleep events were only created when the user had finished backgrounding the app (by single-press of the home button, or switching to another app). This behavior matches the existing behavior on Android. Be aware that this may cause an increased amount of sleep events to be recorded in your analytics tools, but the numbers will be technically more accurate
It is strongly recommended that you remove and re-add the plugin from your project for the 1.1.1 release.
In version 1.1.1, the plugin package name has changed from com.tealium.cordova.v5 to tealium-cordova-plugin.
To remove earlier plugin versions, you may need to issue the command: