Wednesday, March 8, 2017

How to build React-Native behind proxy

Recently I tried to setup and build react-native app (mostly for Android), behind a proxy server. To pass the gradle build, need set proxy config as below:


  • Edit AwesomeProject\Android\gradle.properties, add proxy config:
  •     systemProp.http.proxyHost=10.255.247.227
  •     systemProp.http.proxyPort=8080
  •     systemProp.https.proxyHost=10.255.247.227
  •     systemProp.https.proxyPort=8080


No comments:

Post a Comment

Enable HP Zbook Thunderbolt 3 Dock on Ubuntu

As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...