I have a app to test on iOS & Android platform. What are best practices for script writting, so I could run same script on both platform. Is it possible to run script on iOS device where Appium is running on Windows machine

Any suggestion is more than welcome.

I have a similar issue. Have you found a solution?