NewNode
Integration status
Android
Add to your build.gradle:
implementation 'com.clostra.newnode:newnode:+'
Add to your Application or Activity:
import com.clostra.newnode.NewNode;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
NewNode.init();
...
}
See android/examples/WebViewSample
for an example.
iOS
Carthage
Add to your Cartfile:
github "clostra/newnode"
Cocoapods
Add to your Podfile:
pod 'NewNode'
Add to your NSURLSession
:
NSURLSessionConfiguration *config = NSURLSessionConfiguration.defaultSessionConfiguration;
config.connectionProxyDictionary = NewNode.connectionProxyDictionary;
NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
See ios/examples/CustomHTTPProtocol
for an example.
macOS / Linux
./build.sh
client
(and injector
) are the resulting binaries.
docker
Building and running on docker
is straightforward:
docker build --tag newnode ./
docker run newnode