Skip to content

Commit

Permalink
Uncomment toast,clipboard,netinfo modules in MainReactPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
AbilashK committed Mar 2, 2016
1 parent f4bd872 commit bb4c8ea
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions android/src/main/java/com/oney/gcm/MainReactPackage.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
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.NetInfoModule;
import com.facebook.react.modules.netinfo.NetInfoModule;
import com.facebook.react.modules.network.NetworkingModule;
import com.facebook.react.modules.storage.AsyncStorageModule;
//import com.facebook.react.modules.toast.ToastModule;
import com.facebook.react.modules.toast.ToastModule;
import com.facebook.react.modules.websocket.WebSocketModule;
import com.facebook.react.uimanager.ViewManager;
import com.facebook.react.views.drawer.ReactDrawerLayoutManager;
Expand All @@ -33,7 +33,7 @@
import com.facebook.react.views.view.ReactViewManager;
import com.facebook.react.views.viewpager.ReactViewPagerManager;
import com.facebook.react.views.webview.ReactWebViewManager;
//import com.facebook.react.modules.clipboard.ClipboardModule;
import com.facebook.react.modules.clipboard.ClipboardModule;

/**
* Package defining basic modules and view managers.
Expand All @@ -44,14 +44,14 @@ public class MainReactPackage implements ReactPackage {
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
return Arrays.<NativeModule>asList(
new AsyncStorageModule(reactContext),
// new ClipboardModule(reactContext),
new ClipboardModule(reactContext),
new FrescoModule(reactContext),
new IntentModule(reactContext),
new LocationModule(reactContext),
new NetworkingModule(reactContext),
// new NetInfoModule(reactContext),
new WebSocketModule(reactContext));
// new ToastModule(reactContext));
new NetInfoModule(reactContext),
new WebSocketModule(reactContext),
new ToastModule(reactContext));
}

@Override
Expand Down

0 comments on commit bb4c8ea

Please sign in to comment.