I would like to start android session without app providing, then ask if app is installed and only when app is not installed with the same version/code I would like to install it.
Unfortunately, appium requires either package and activity or app file, so I cannot create just session and run isAppInstalled.
Another issue is that isAppInstalled accepts only bundleId and not version, not sure if it is even usable for android. So currently if I want to ensure that there is the same version of the app that I need I have to reinstall the app every test start ?
Concerning starting the session without app the issue is not in the java client but in the server itself
at AndroidDriver.validateDesiredCaps (../../lib/driver.js:446:11)
Thanks