what is the capabilty enforceAppInstall used for?
By default application installation is skipped if newer or the same version of this app is already present on the device under test. Setting this option to true will enforce Appium to always install the current application build independently of the currently installed version of it.
Defaults to false.
Eg:-capabilities.setCapability("enforceAppInstall", false);