Java 类com.facebook.react.modules.intent.IntentModule 实例源码

项目:react-native-threads    文件:ThreadBaseReactPackage.java   
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext catalystApplicationContext) {
    return Arrays.<NativeModule>asList(
            // Core list
            new AndroidInfoModule(),
            new ExceptionsManagerModule(reactInstanceManager.getDevSupportManager()),
            new AppStateModule(catalystApplicationContext),
            new Timing(catalystApplicationContext, reactInstanceManager.getDevSupportManager()),
            new UIManagerStubModule(catalystApplicationContext),
            new SourceCodeModule(catalystApplicationContext),
            new JSCHeapCapture(catalystApplicationContext),

            // Main list
            new AsyncStorageModule(catalystApplicationContext),
            new IntentModule(catalystApplicationContext),
            new LocationModule(catalystApplicationContext),
            new NetworkingModule(catalystApplicationContext),
            new NetInfoModule(catalystApplicationContext),
            new VibrationModule(catalystApplicationContext),
            new WebSocketModule(catalystApplicationContext),
            new ThreadSelfModule(catalystApplicationContext)
    );
}
项目:ReactNativeSignatureExample    文件:MainReactPackage.java   
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
  return Arrays.<NativeModule>asList(
    new AppStateModule(reactContext),
    new AsyncStorageModule(reactContext),
    new CameraRollManager(reactContext),
    new ClipboardModule(reactContext),
    new DatePickerDialogModule(reactContext),
    new DialogModule(reactContext),
    new FrescoModule(reactContext),
    new ImageEditingManager(reactContext),
    new ImageStoreManager(reactContext),
    new IntentModule(reactContext),
    new LocationModule(reactContext),
    new NetworkingModule(reactContext),
    new NetInfoModule(reactContext),
    new StatusBarModule(reactContext),
    new TimePickerDialogModule(reactContext),
    new ToastModule(reactContext),
    new VibrationModule(reactContext),
    new WebSocketModule(reactContext)
  );
}
项目:react-native-workers    文件:BaseReactPackage.java   
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext catalystApplicationContext) {
    return Arrays.<NativeModule>asList(
            // Core list
            new AndroidInfoModule(),
            new ExceptionsManagerModule(reactInstanceManager.getDevSupportManager()),
            new Timing(catalystApplicationContext, reactInstanceManager.getDevSupportManager()),
            new UIManagerStubModule(catalystApplicationContext),
            new SourceCodeModule(reactInstanceManager.getSourceUrl()),
            new JSCHeapCapture(catalystApplicationContext),

            // Main list
            new AsyncStorageModule(catalystApplicationContext),
            new IntentModule(catalystApplicationContext),
            new LocationModule(catalystApplicationContext),
            new NetworkingModule(catalystApplicationContext),
            new NetInfoModule(catalystApplicationContext),
            new VibrationModule(catalystApplicationContext),
            new WebSocketModule(catalystApplicationContext),
            new WorkerSelfModule(catalystApplicationContext)
    );
}
项目:react-native-ibeacon-android    文件:MainReactPackage.java   
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
  return Arrays.<NativeModule>asList(
    new AppStateModule(reactContext),
    new AsyncStorageModule(reactContext),
    new CameraRollManager(reactContext),
    new ClipboardModule(reactContext),
    new DatePickerDialogModule(reactContext),
    new DialogModule(reactContext),
    new FrescoModule(reactContext),
    new ImageEditingManager(reactContext),
    new ImageStoreManager(reactContext),
    new IntentModule(reactContext),
    new LocationModule(reactContext),
    new NetworkingModule(reactContext),
    new NetInfoModule(reactContext),
    new StatusBarModule(reactContext),
    new TimePickerDialogModule(reactContext),
    new ToastModule(reactContext),
    new VibrationModule(reactContext),
    new WebSocketModule(reactContext)
  );
}
项目:react-native-box-loaders    文件:MainReactPackage.java   
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
  return Arrays.<NativeModule>asList(
    new AppStateModule(reactContext),
    new AsyncStorageModule(reactContext),
    new CameraRollManager(reactContext),
    new ClipboardModule(reactContext),
    new DatePickerDialogModule(reactContext),
    new DialogModule(reactContext),
    new FrescoModule(reactContext),
    new ImageEditingManager(reactContext),
    new ImageLoaderModule(reactContext),
    new ImageStoreManager(reactContext),
    new IntentModule(reactContext),
    new LocationModule(reactContext),
    new NetworkingModule(reactContext),
    new NetInfoModule(reactContext),
    new StatusBarModule(reactContext),
    new TimePickerDialogModule(reactContext),
    new ToastModule(reactContext),
    new VibrationModule(reactContext),
    new WebSocketModule(reactContext)
  );
}
项目:react-native-gcm-android    文件:MainReactPackage.java   
@Override
    public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
        return Arrays.<NativeModule>asList(
                new AsyncStorageModule(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));
    }