mirror of
https://github.com/status-im/react-native-config.git
synced 2026-09-01 15:11:08 +00:00
Add support for react-native-windows. Update the docs and example and add an automatic CI test.
13 lines
348 B
JavaScript
13 lines
348 B
JavaScript
import { windowsAppDriverCapabilities } from 'selenium-appium'
|
|
|
|
switch (platform) {
|
|
case "windows":
|
|
const webViewWindowsAppId = 'ReactNativeConfigWinExample_nsp2ha5jnb6xr!App';
|
|
module.exports = {
|
|
capabilites: windowsAppDriverCapabilities(webViewWindowsAppId)
|
|
}
|
|
break;
|
|
default:
|
|
throw "Unknown platform: " + platform;
|
|
}
|