dozken / react-native-appium-java

0 stars 0 forks source link

iOS / Android Code #1

Open albert17 opened 1 year ago

albert17 commented 1 year ago

Hi,

I see that before there were Android/iOS code separately, but not there is only one file. Does it work for both OS?

Thanks!

dozken commented 1 year ago

Hi @albert17, nope, it won't work for iOS right now, as you might see here https://github.com/dozken/react-native-appium-java/blob/master/src/test/java/org/example/StartAndroidAppTest.java#L32 it sets the platform. You can create a separate file, or provide parameters through the command line arguments

This was just PoC on Appium, in the actual project we went with https://github.com/wix/Detox, which worked fine for our app. However, it was not supported in https://appcenter.ms/ at that time (April 2022)