I have two working connections on my Mac - Ethernet and Wi-Fi. During XCode building process ExpoKit generates and puts into EXBuildConstants development URL with the Ethernet IP address. As a result, I can run the app on a simulator, but not on a real device connected via Wi-Fi.
I specify correct address to the Metro Bundler with REACT_NATIVE_PACKAGER_HOSTNAME, but ExpoKit doesn’t seem to take address from the Metro Bundler. Is there a way to specify what network adapter ExpoKit takes the IP from? I tried switching adapter order in network settings, but that seems to have no effect.