[v6] How to specify android/ios API version?

I am building for web and cordova (ios and android). Where should I specify the minimum SDK version for ios and android? Is there a file that I need to edit before I run npm run build-cordova?

This is very useful. Thanks!