ABP: Change IPM versioning from Command Library level to Command level
To prevent unrelated command changes from interfering with ongoing campaigns, we have decided to do the version check on command level instead of command library level.
What to do
- Introduce a version property for every command
- Change the check in
canProcessCommand()
to use that command version
Hints for testers
In reality, there's no change in behavior for now. If MoEngage sends a dialog command, and the provided version
parameter is not 1
, the extension should refuse to execute the command. The only change is that the extension no longer compares the value it gets from MoEngage to the number of internal command library version, but instead to the number of the command.
Edited by Jens Arps