Open source the Android NetInfo module

Reviewed By: mkonicek

Differential Revision: D2703432

fb-gh-sync-id: 4a85844f1734ec433df543c89f0fdd56fe5db13c
This commit is contained in:
Konstantin Raev
2015-12-02 10:50:09 -08:00
committed by facebook-github-bot-4
parent 06f2c33f0d
commit 0779dd1e87
9 changed files with 347 additions and 27 deletions

View File

@@ -20,6 +20,7 @@ import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.modules.fresco.FrescoModule;
import com.facebook.react.modules.intent.IntentModule;
import com.facebook.react.modules.location.LocationModule;
import com.facebook.react.modules.netinfo.ConnectivityModule;
import com.facebook.react.modules.network.NetworkingModule;
import com.facebook.react.modules.storage.AsyncStorageModule;
import com.facebook.react.modules.toast.ToastModule;
@@ -54,6 +55,7 @@ public class MainReactPackage implements ReactPackage {
new IntentModule(reactContext),
new LocationModule(reactContext),
new NetworkingModule(reactContext),
new ConnectivityModule(reactContext),
new WebSocketModule(reactContext),
new ToastModule(reactContext));
}