How to set screen resolution for mobile devices?

I am running my selenium test script under sauce lab for mobile devices using emulator and simulator

It uses appium for the test .

I want to set the screen resolution like 1024x768 for mobile device , is it possible like desktop ???

Thanks

@need_appium_help
Im also having same doubt… as im using image recognition with appium and it working only screen resolution specific…

so i need to unify all device screens resolution to one resolution before starting the tests…