Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from buildcom/SODEV-6791
Browse files Browse the repository at this point in the history
SODEV-6791 - Fork react-native-schemes-manager and add support for Build's VPN
  • Loading branch information
gwmccull authored Mar 26, 2018
2 parents c8d569d + f053324 commit 429a874
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/react-native-xcode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ eval 'case "$CONFIGURATION" in
IP=$(ifconfig | grep 'inet ' | grep -v ' 127.' | cut -d\ -f2 | awk 'NR==1{print $1}')
fi
VPNIP=$(ifconfig | grep -- "-->" | cut -d\ -f2)
if [ "$VPNIP" ]; then
IP="$VPNIP"
fi
if [ -z ${DISABLE_XIP+x} ]; then
IP="$IP.xip.io"
fi
Expand Down

0 comments on commit 429a874

Please sign in to comment.