-
-
Save gys-dev/e8a9c84c9a986e007a1087138b172c4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BASE_DIR=`pwd`; | |
function remove_rctwebview(){ | |
local dir="${BASE_DIR}/node_modules/react-native/React"; | |
sed -i'.bak' '/RCTWebView/d' "${dir}/React.xcodeproj/project.pbxproj" | |
rm -f "${dir}/React.xcodeproj/project.pbxproj.bak" | |
rm -f "${dir}/Views/RCTWebView.m" | |
rm -f "${dir}/Views/RCTWebView.h" | |
rm -f "${dir}/Views/RCTWebViewManager.m" | |
rm -f "${dir}/Views/RCTWebViewManager.h" | |
} | |
remove_rctwebview; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment