├── bots
├── .babelrc
└── package.json
├── template
├── _watchmanconfig
├── _editorconfig
├── app.json
├── _eslintrc.js
├── babel.config.js
├── android
│ ├── app
│ │ ├── debug.keystore
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── mipmap-xxxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── helloworld
│ │ │ │ └── MainActivity.java
│ │ └── proguard-rules.pro
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ └── settings.gradle
├── ios
│ └── HelloWorld
│ │ ├── Images.xcassets
│ │ └── Contents.json
│ │ ├── AppDelegate.h
│ │ └── main.m
├── _buckconfig
├── _gitattributes
├── _prettierrc.js
├── index.js
├── __tests__
│ └── App-test.js
└── metro.config.js
├── Libraries
├── .npmignore
├── Renderer
│ └── REVISION
├── ReactPrivate
│ ├── README
│ └── ReactNativePrivateInitializeCore.js
├── Image
│ ├── __tests__
│ │ └── img
│ │ │ ├── img1.png
│ │ │ └── img2.png
│ ├── RCTImageShadowView.h
│ ├── RCTImageViewManager.h
│ ├── AssetRegistry.js
│ ├── RCTGIFImageDecoder.h
│ ├── RCTImageEditingManager.h
│ ├── RCTLocalAssetImageLoader.h
│ ├── RCTUIImageViewAnimated.h
│ └── RCTImageBlurUtils.h
├── LogBox
│ └── UI
│ │ └── LogBoxImages
│ │ ├── close.png
│ │ ├── loader.png
│ │ ├── chevron-left.png
│ │ ├── chevron-right.png
│ │ └── alert-triangle.png
├── NewAppScreen
│ └── components
│ │ ├── logo.png
│ │ └── Colors.js
├── Lists
│ └── __tests__
│ │ └── __snapshots__
│ │ └── VirtualizeUtils-test.js.snap
├── Types
│ └── RootTagTypes.js
├── Components
│ ├── Touchable
│ │ └── __mocks__
│ │ │ └── ensureComponentIsNative.js
│ ├── DrawerAndroid
│ │ └── DrawerLayoutAndroid.ios.js
│ ├── ProgressBarAndroid
│ │ └── ProgressBarAndroid.ios.js
│ └── MaskedView
│ │ └── MaskedViewIOS.android.js
├── ReactNative
│ ├── UIManagerInjection.js
│ ├── HeadlessJsTaskError.js
│ └── ReactFabricInternals.js
├── Vibration
│ └── RCTVibration.h
├── Blob
│ ├── RCTFileReaderModule.h
│ └── __mocks__
│ │ └── BlobModule.js
├── Text
│ ├── TextInput
│ │ ├── RCTInputAccessoryViewContent.h
│ │ ├── RCTInputAccessoryShadowView.h
│ │ ├── RCTInputAccessoryViewManager.h
│ │ ├── RCTBaseTextInputViewManager.h
│ │ ├── Multiline
│ │ │ ├── RCTMultilineTextInputView.h
│ │ │ └── RCTMultilineTextInputViewManager.h
│ │ ├── Singleline
│ │ │ ├── RCTSinglelineTextInputView.h
│ │ │ └── RCTSinglelineTextInputViewManager.h
│ │ └── RCTInputAccessoryView.h
│ ├── VirtualText
│ │ ├── RCTVirtualTextShadowView.h
│ │ └── RCTVirtualTextViewManager.h
│ ├── Text
│ │ └── RCTTextViewManager.h
│ ├── BaseText
│ │ └── RCTBaseTextViewManager.h
│ ├── RawText
│ │ ├── RCTRawTextViewManager.h
│ │ └── RCTRawTextShadowView.h
│ └── RCTTextTransform.h
├── NativeAnimation
│ ├── Drivers
│ │ ├── RCTDecayAnimation.h
│ │ ├── RCTFrameAnimation.h
│ │ └── RCTSpringAnimation.h
│ └── Nodes
│ │ ├── RCTModuloAnimatedNode.h
│ │ ├── RCTTrackingAnimatedNode.h
│ │ ├── RCTAdditionAnimatedNode.h
│ │ ├── RCTDiffClampAnimatedNode.h
│ │ ├── RCTDivisionAnimatedNode.h
│ │ ├── RCTInterpolationAnimatedNode.h
│ │ ├── RCTMultiplicationAnimatedNode.h
│ │ ├── RCTSubtractionAnimatedNode.h
│ │ ├── RCTStyleAnimatedNode.h
│ │ └── RCTTransformAnimatedNode.h
├── Utilities
│ ├── DeviceInfo.js
│ ├── LoadingView.js
│ └── __mocks__
│ │ └── GlobalPerformanceLogger.js
├── StyleSheet
│ ├── EdgeInsetsPropType.js
│ └── PointPropType.js
├── Modal
│ └── ModalInjection.js
├── Wrapper
│ └── Example
│ │ ├── RCTWrapperExampleView.h
│ │ ├── RCTWrapperExampleViewController.h
│ │ └── RCTWrapperReactRootViewManager.h
├── SurfaceHostingComponent
│ └── RCTSurfaceHostingComponentController.h
├── Core
│ └── ReactNativeVersion.js
└── RCTRequired
│ └── BUCK
├── scripts
├── .packager.env
├── circleci
│ ├── gradle_download_deps.sh
│ └── exec_swallow_error.sh
├── launchPackager.bat
└── versiontemplates
│ └── ReactNativeVersion.js.template
├── .buckjavaargs
├── ReactAndroid
├── src
│ ├── main
│ │ ├── jni
│ │ │ ├── first-party
│ │ │ │ ├── fbjni
│ │ │ │ │ └── .gitignore
│ │ │ │ ├── .clang-tidy
│ │ │ │ ├── yogajni
│ │ │ │ │ ├── .clang-tidy
│ │ │ │ │ └── jni
│ │ │ │ │ │ └── YGJNIVanilla.h
│ │ │ │ ├── fb
│ │ │ │ │ └── include
│ │ │ │ │ │ └── fb
│ │ │ │ │ │ └── visibility.h
│ │ │ │ ├── jni-hack
│ │ │ │ │ ├── README.md
│ │ │ │ │ └── jni.h
│ │ │ │ ├── hermes
│ │ │ │ │ └── Android.mk
│ │ │ │ └── fbgloginit
│ │ │ │ │ └── fb
│ │ │ │ │ └── glog_init.h
│ │ │ ├── react
│ │ │ │ └── jni
│ │ │ │ │ ├── .clang-tidy
│ │ │ │ │ ├── NativeTime.h
│ │ │ │ │ └── OnLoad.h
│ │ │ ├── prebuilt
│ │ │ │ └── lib
│ │ │ │ │ └── DUMMY
│ │ │ └── third-party
│ │ │ │ ├── jsc
│ │ │ │ └── Android.mk
│ │ │ │ └── fmt
│ │ │ │ └── Android.mk
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── facebook
│ │ │ │ ├── hermes
│ │ │ │ ├── .clang-tidy
│ │ │ │ └── unicode
│ │ │ │ │ └── BUCK
│ │ │ │ ├── react
│ │ │ │ ├── fabric
│ │ │ │ │ └── .clang-tidy
│ │ │ │ ├── modules
│ │ │ │ │ ├── .clang-tidy
│ │ │ │ │ ├── datepicker
│ │ │ │ │ │ └── DatePickerMode.java
│ │ │ │ │ └── network
│ │ │ │ │ │ ├── ProgressListener.java
│ │ │ │ │ │ └── OkHttpClientFactory.java
│ │ │ │ ├── turbomodule
│ │ │ │ │ └── .clang-tidy
│ │ │ │ ├── reactperflogger
│ │ │ │ │ └── jni
│ │ │ │ │ │ └── reactperflogger
│ │ │ │ │ │ ├── .clang-tidy
│ │ │ │ │ │ └── OnLoad.cpp
│ │ │ │ ├── bridge
│ │ │ │ │ ├── JSIModuleProvider.java
│ │ │ │ │ ├── MemoryPressure.java
│ │ │ │ │ ├── NativeArrayInterface.java
│ │ │ │ │ └── PerformanceCounter.java
│ │ │ │ ├── views
│ │ │ │ │ ├── image
│ │ │ │ │ │ └── ImageResizeMethod.java
│ │ │ │ │ └── textinput
│ │ │ │ │ │ ├── ContentSizeWatcher.java
│ │ │ │ │ │ └── ScrollWatcher.java
│ │ │ │ ├── common
│ │ │ │ │ └── ReactConstants.java
│ │ │ │ ├── devsupport
│ │ │ │ │ ├── interfaces
│ │ │ │ │ │ ├── BundleLoadCallback.java
│ │ │ │ │ │ └── PackagerStatusCallback.java
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ │ ├── packagerconnection
│ │ │ │ │ └── Responder.java
│ │ │ │ ├── ReactApplication.java
│ │ │ │ ├── module
│ │ │ │ │ └── model
│ │ │ │ │ │ └── BUCK
│ │ │ │ └── config
│ │ │ │ │ └── BUCK
│ │ │ │ ├── perftest
│ │ │ │ ├── BUCK
│ │ │ │ └── PerfTestConfig.java
│ │ │ │ ├── systrace
│ │ │ │ ├── BUCK
│ │ │ │ └── TraceListener.java
│ │ │ │ ├── debug
│ │ │ │ └── debugoverlay
│ │ │ │ │ └── model
│ │ │ │ │ └── BUCK
│ │ │ │ └── yoga
│ │ │ │ └── YogaConfigFactory.java
│ │ ├── AndroidManifest.xml
│ │ ├── third-party
│ │ │ └── java
│ │ │ │ ├── buck-android-support
│ │ │ │ └── buck-android-support.jar
│ │ │ │ ├── jsr-330
│ │ │ │ └── BUCK
│ │ │ │ └── jsr-305
│ │ │ │ └── BUCK
│ │ ├── res
│ │ │ ├── devsupport
│ │ │ │ ├── values
│ │ │ │ │ └── colors.xml
│ │ │ │ ├── values-af
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ar
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-as
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-az
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-bg
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-bn
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-bs
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ca
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-cb
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-cs
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-da
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-de
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-el
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-es
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-et
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fa
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fb
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fi
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-gu
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-hi
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-hr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-hu
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-in
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-is
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-it
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-iw
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ja
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ka
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-km
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-kn
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ko
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-lo
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-lt
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-lv
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-mk
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ml
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-mn
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-mr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ms
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-my
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-nb
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ne
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-nl
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-pa
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-pl
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-pt
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-qz
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ro
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ru
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-si
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sk
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sl
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sn
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sq
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sv
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sw
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ta
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-te
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-th
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-tl
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-tr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-uk
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ur
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-vi
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-wo
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-zu
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-en-rGB
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-es-rES
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fb-rLS
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fr-rCA
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-pt-rPT
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-zh-rCN
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-zh-rHK
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-zh-rTW
│ │ │ │ │ └── strings.xml
│ │ │ │ └── layout
│ │ │ │ │ └── redbox_item_title.xml
│ │ │ ├── systeminfo
│ │ │ │ └── values
│ │ │ │ │ └── values.xml
│ │ │ └── views
│ │ │ │ └── modal
│ │ │ │ └── anim
│ │ │ │ ├── catalyst_slide_down.xml
│ │ │ │ ├── catalyst_slide_up.xml
│ │ │ │ ├── catalyst_fade_in.xml
│ │ │ │ └── catalyst_fade_out.xml
│ │ └── libraries
│ │ │ └── fbcore
│ │ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── com
│ │ │ └── facebook
│ │ │ └── common
│ │ │ └── logging
│ │ │ └── BUCK
│ ├── test
│ │ ├── resources
│ │ │ └── robolectric.properties
│ │ └── java
│ │ │ └── org
│ │ │ └── mockito
│ │ │ └── configuration
│ │ │ └── BUCK
│ └── androidTest
│ │ └── assets
│ │ └── BUCK
├── .npmignore
└── README.md
├── packages
├── assets
│ ├── .npmignore
│ └── package.json
├── polyfills
│ ├── .npmignore
│ ├── package.json
│ └── index.js
├── normalize-color
│ ├── .npmignore
│ └── package.json
├── rn-tester
│ ├── .eslintrc
│ ├── Gemfile
│ ├── js
│ │ ├── assets
│ │ │ ├── call.png
│ │ │ ├── fist.png
│ │ │ ├── hawk.png
│ │ │ ├── like.png
│ │ │ ├── poke.png
│ │ │ ├── bunny.png
│ │ │ ├── dislike.png
│ │ │ ├── empty.png
│ │ │ ├── flowers.png
│ │ │ ├── flux@3x.png
│ │ │ ├── heart.png
│ │ │ ├── liking.png
│ │ │ ├── party.png
│ │ │ ├── slider.png
│ │ │ ├── trees.jpg
│ │ │ ├── victory.png
│ │ │ ├── bandaged.png
│ │ │ ├── imageMask.png
│ │ │ ├── relay@3x.png
│ │ │ ├── slider@2x.png
│ │ │ ├── superlike.png
│ │ │ ├── search-icon.png
│ │ │ ├── slider-left.png
│ │ │ ├── slider-right.png
│ │ │ ├── documentation.png
│ │ │ ├── slider-left@2x.png
│ │ │ ├── uie_thumb_big.png
│ │ │ ├── bookmark-filled.png
│ │ │ ├── bookmark-outline.png
│ │ │ ├── slider-right@2x.png
│ │ │ ├── header-back-button.png
│ │ │ ├── uie_thumb_normal@2x.png
│ │ │ ├── bookmark-outline-blue.png
│ │ │ ├── bookmark-outline-gray.png
│ │ │ ├── uie_comment_normal@2x.png
│ │ │ ├── uie_thumb_selected@2x.png
│ │ │ ├── bottom-nav-bookmark-fill.png
│ │ │ ├── bottom-nav-apis-icon-active.png
│ │ │ ├── bottom-nav-bookmark-outline.png
│ │ │ ├── uie_comment_highlighted@2x.png
│ │ │ ├── bottom-nav-apis-icon-inactive.png
│ │ │ ├── tumblr_mfqekpMktw1rn90umo1_500.gif
│ │ │ ├── bottom-nav-components-icon-active.png
│ │ │ └── bottom-nav-components-icon-inactive.png
│ │ └── examples
│ │ │ ├── Accessibility
│ │ │ ├── check.png
│ │ │ ├── mixed.png
│ │ │ └── uncheck.png
│ │ │ └── Snapshot
│ │ │ └── SnapshotViewIOS.android.js
│ ├── RNTester
│ │ ├── Images.xcassets
│ │ │ ├── Contents.json
│ │ │ ├── AppIcon.appiconset
│ │ │ │ ├── Icon-60@2x.png
│ │ │ │ ├── Icon-60@3x.png
│ │ │ │ ├── Icon-76@2x.png
│ │ │ │ ├── Icon-83.5@2x.png
│ │ │ │ ├── Icon-Small@2x.png
│ │ │ │ ├── Icon-Small@3x.png
│ │ │ │ ├── Icon-Small-40@2x.png
│ │ │ │ ├── Icon-Small-40@3x.png
│ │ │ │ └── iTunesArtwork@1x.png
│ │ │ ├── tabnav_list.imageset
│ │ │ │ ├── tabnav_list@3x.png
│ │ │ │ └── Contents.json
│ │ │ ├── tabnav_settings.imageset
│ │ │ │ ├── tabnav_settings@3x.png
│ │ │ │ └── Contents.json
│ │ │ ├── NavBarButtonPlus.imageset
│ │ │ │ ├── NavBarButtonPlus@3x.png
│ │ │ │ └── Contents.json
│ │ │ ├── story-background.imageset
│ │ │ │ ├── story-background@2x.png
│ │ │ │ └── Contents.json
│ │ │ └── tabnav_notification.imageset
│ │ │ │ ├── tabnav_notification@3x.png
│ │ │ │ └── Contents.json
│ │ ├── legacy_image@2x.png
│ │ ├── RNTesterBundle
│ │ │ ├── OtherImages.xcassets
│ │ │ │ ├── Contents.json
│ │ │ │ └── ImageInAssetCatalog.imageset
│ │ │ │ │ ├── react-logo.png
│ │ │ │ │ └── Contents.json
│ │ │ └── ImageInBundle.png
│ │ ├── NativeExampleViews
│ │ │ ├── FlexibleSizeExampleView.h
│ │ │ └── UpdatePropertiesExampleView.h
│ │ ├── RNTester.entitlements
│ │ ├── main.m
│ │ └── AppDelegate.h
│ ├── RNTesterUnitTests
│ │ ├── libOCMock.a
│ │ └── RNTesterUnitTestsBundle.js
│ ├── android
│ │ └── app
│ │ │ ├── my-release-key.keystore
│ │ │ └── src
│ │ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── font
│ │ │ │ │ ├── rubik_bold.ttf
│ │ │ │ │ ├── rubik_light.ttf
│ │ │ │ │ ├── rubik_medium.ttf
│ │ │ │ │ ├── rubik_regular.ttf
│ │ │ │ │ └── rubik_medium_italic.ttf
│ │ │ │ ├── drawable
│ │ │ │ │ ├── tv_banner.png
│ │ │ │ │ ├── launcher_icon.png
│ │ │ │ │ ├── legacy_image.png
│ │ │ │ │ ├── ic_menu_black_24dp.png
│ │ │ │ │ ├── ic_create_black_48dp.png
│ │ │ │ │ └── ic_settings_black_48dp.png
│ │ │ │ └── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ └── styles.xml
│ │ │ └── assets
│ │ │ │ └── fonts
│ │ │ │ ├── notoserif.ttf
│ │ │ │ └── notoserif_bold_italic.ttf
│ │ │ └── debug
│ │ │ └── AndroidManifest.xml
│ ├── e2e
│ │ └── config.json
│ ├── RNTesterIntegrationTests
│ │ ├── blue_square.png
│ │ ├── red_square.png
│ │ └── ReferenceImages
│ │ │ ├── RNTester-js-RNTesterApp.ios
│ │ │ ├── testLayoutExample_1-iOS12@2x.png
│ │ │ ├── testLayoutExample_1-iOS13@2x.png
│ │ │ ├── testSliderExample_1-iOS12@2x.png
│ │ │ ├── testSwitchExample_1-iOS12@2x.png
│ │ │ ├── testSwitchExample_1-iOS13@2x.png
│ │ │ ├── testTextExample_1-iOS12@2x.png
│ │ │ ├── testTextExample_1-iOS13@2x.png
│ │ │ ├── testViewExample_1-iOS12@2x.png
│ │ │ ├── testViewExample_1-iOS13@2x.png
│ │ │ ├── testScrollViewExample_1-iOS12@2x.png
│ │ │ └── testScrollViewExample_1-iOS13@2x.png
│ │ │ └── IntegrationTests-IntegrationTestsApp
│ │ │ ├── testImageSnapshotTest_1@2x.png
│ │ │ ├── testImageSnapshotTest_1@3x.png
│ │ │ ├── testImageSnapshotTest_1_tvOS.png
│ │ │ ├── testSimpleSnapshotTest_1@2x.png
│ │ │ ├── testSimpleSnapshotTest_1@3x.png
│ │ │ └── testSimpleSnapshotTest_1_tvOS.png
│ ├── RNTesterPods.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ ├── NativeModuleExample
│ │ └── Screenshot.h
│ └── RCTTest
│ │ ├── RCTSnapshotManager.h
│ │ └── FBSnapshotTestCase
│ │ ├── UIImage+Diff.h
│ │ └── UIImage+Compare.h
├── react-native-codegen
│ ├── .prettierrc
│ ├── android
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ └── gradlePlugin-build
│ │ │ ├── settings.gradle
│ │ │ └── build.gradle
│ ├── src
│ │ ├── __tests__
│ │ │ └── __snapshots__
│ │ │ │ └── SchemaValidator-test.js.snap
│ │ └── generators
│ │ │ └── Utils.js
│ ├── buck_tests
│ │ └── emptyFile.cpp
│ ├── README.md
│ └── .babelrc
├── eslint-plugin-react-native-community
│ ├── package.json
│ └── index.js
└── eslint-plugin-codegen
│ └── index.js
├── ReactCommon
├── jsi
│ ├── .clang-tidy
│ └── JSCRuntime.h
├── better
│ └── .clang-tidy
├── cxxreact
│ └── .clang-tidy
├── hermes
│ ├── .clang-tidy
│ ├── inspector
│ │ ├── tools
│ │ │ ├── msggen
│ │ │ │ ├── .gitignore
│ │ │ │ └── .babelrc
│ │ │ └── format
│ │ ├── docs
│ │ │ ├── InspectorFSM.pdf
│ │ │ └── GenerateInspectorFSM.sh
│ │ └── DEFS.bzl
│ └── executor
│ │ ├── JSITracing.h
│ │ └── JSITracing.cpp
├── yoga
│ ├── .clang-tidy
│ └── yoga
│ │ └── YGValue.cpp
├── callinvoker
│ └── .clang-tidy
├── jsiexecutor
│ └── .clang-tidy
├── jsinspector
│ └── .clang-tidy
├── microprofiler
│ └── .clang-tidy
├── react
│ ├── config
│ │ └── .clang-tidy
│ ├── utils
│ │ └── .clang-tidy
│ ├── nativemodule
│ │ └── .clang-tidy
│ └── renderer
│ │ ├── .clang-tidy
│ │ ├── core
│ │ ├── RawValue.cpp
│ │ ├── StateUpdate.cpp
│ │ └── ShadowNodeTraits.cpp
│ │ ├── scheduler
│ │ └── SchedulerToolbox.cpp
│ │ ├── mounting
│ │ ├── ShadowTreeRevision.cpp
│ │ └── MountingTransactionMetadata.cpp
│ │ ├── element
│ │ ├── Element.cpp
│ │ └── ElementFragment.cpp
│ │ ├── components
│ │ ├── image
│ │ │ └── tests
│ │ │ │ └── ImageTest.cpp
│ │ ├── text
│ │ │ ├── tests
│ │ │ │ └── TextTest.cpp
│ │ │ ├── TextShadowNode.cpp
│ │ │ └── RawTextShadowNode.cpp
│ │ ├── slider
│ │ │ └── tests
│ │ │ │ └── SliderTest.cpp
│ │ ├── scrollview
│ │ │ └── tests
│ │ │ │ └── ScrollViewTest.cpp
│ │ ├── safeareaview
│ │ │ └── SafeAreaViewState.cpp
│ │ ├── textinput
│ │ │ └── iostextinput
│ │ │ │ └── TextInputState.cpp
│ │ └── legacyviewmanagerinterop
│ │ │ └── LegacyViewManagerInteropState.mm
│ │ ├── graphics
│ │ └── tests
│ │ │ └── GraphicsTest.cpp
│ │ └── uimanager
│ │ └── tests
│ │ └── FabricUIManagerTest.cpp
├── jsengineinstance
│ └── .clang-tidy
├── reactperflogger
│ └── .clang-tidy
└── runtimeexecutor
│ └── .clang-tidy
├── keystores
├── debug.keystore
├── debug.keystore.properties
└── BUCK
├── IntegrationTests
├── blue_square.png
└── red_square.png
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .gitattributes
├── .prettierrc
├── .github
└── ISSUE_TEMPLATE.md
├── .eslintignore
├── .buckconfig
├── flow-typed
└── npm
│ ├── base64-js_v1.x.x.js
│ └── stacktrace-parser_v0.1.x.js
├── React
├── Fabric
│ ├── RCTPrimitives.h
│ ├── Mounting
│ │ └── ComponentViews
│ │ │ └── InputAccessory
│ │ │ └── RCTInputAccessoryContentView.h
│ └── Surface
│ │ └── RCTFabricSurfaceHostingView.h
├── Base
│ ├── RCTCxxConvert.m
│ ├── RCTInitializing.h
│ ├── RCTInvalidating.h
│ ├── RCTNullability.h
│ ├── RCTWeakProxy.h
│ └── Surface
│ │ └── RCTSurfaceRootView.mm
├── Views
│ ├── RCTDatePicker.h
│ ├── RCTSliderManager.h
│ ├── RCTSwitchManager.h
│ ├── RCTMaskedViewManager.h
│ ├── RCTActivityIndicatorView.h
│ ├── RCTProgressViewManager.h
│ ├── RCTMaskedView.h
│ ├── RCTSegmentedControlManager.h
│ ├── RefreshControl
│ │ └── RCTRefreshControlManager.h
│ ├── ScrollView
│ │ ├── RCTScrollContentViewManager.h
│ │ ├── RCTScrollContentView.h
│ │ └── RCTScrollContentShadowView.h
│ ├── RCTConvert+Transform.h
│ ├── SafeAreaView
│ │ ├── RCTSafeAreaShadowView.h
│ │ └── RCTSafeAreaViewManager.h
│ ├── RCTBorderStyle.h
│ ├── RCTSwitch.h
│ ├── RCTSwitch.m
│ ├── RCTPointerEvents.h
│ ├── RCTModalManager.h
│ ├── RCTShadowView+Internal.h
│ ├── RCTWrapperViewController.h
│ └── RCTDatePickerManager.h
├── CoreModules
│ ├── RCTAppState.h
│ ├── RCTClipboard.h
│ ├── RCTKeyboardObserver.h
│ ├── RCTDeviceInfo.h
│ ├── RCTActionSheetManager.h
│ ├── RCTPlatform.h
│ ├── RCTSourceCode.h
│ ├── RCTAlertController.h
│ ├── RCTLogBox.h
│ ├── RCTDevLoadingView.h
│ └── RCTDevSplitBundleLoader.h
├── DevSupport
│ └── RCTDevLoadingViewSetEnabled.h
└── third-party.xcconfig
├── rn-get-polyfills.js
├── .circleci
└── README.md
├── template.config.js
├── flow
├── Position.js
└── Stringish.js
├── gradle.properties
├── local-cli
└── cli.js
├── cli.js
├── interface.js
└── .editorconfig
/bots/.babelrc:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/template/_watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/Libraries/.npmignore:
--------------------------------------------------------------------------------
1 | __tests__
2 |
--------------------------------------------------------------------------------
/scripts/.packager.env:
--------------------------------------------------------------------------------
1 | export RCT_METRO_PORT=8081
2 |
--------------------------------------------------------------------------------
/.buckjavaargs:
--------------------------------------------------------------------------------
1 | -Xmx512m -XX:+HeapDumpOnOutOfMemoryError
2 |
--------------------------------------------------------------------------------
/Libraries/Renderer/REVISION:
--------------------------------------------------------------------------------
1 | 568dc3532e25b30eee5072de08503b1bbc4f065d
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/fbjni/.gitignore:
--------------------------------------------------------------------------------
1 | /headers/
2 | /jni/
3 |
--------------------------------------------------------------------------------
/packages/assets/.npmignore:
--------------------------------------------------------------------------------
1 | **/__mocks__/**
2 | **/__tests__/**
3 | BUCK
4 |
--------------------------------------------------------------------------------
/packages/polyfills/.npmignore:
--------------------------------------------------------------------------------
1 | **/__mocks__/**
2 | **/__tests__/**
3 | BUCK
4 |
--------------------------------------------------------------------------------
/template/_editorconfig:
--------------------------------------------------------------------------------
1 | # Windows files
2 | [*.bat]
3 | end_of_line = crlf
4 |
--------------------------------------------------------------------------------
/ReactCommon/jsi/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/packages/normalize-color/.npmignore:
--------------------------------------------------------------------------------
1 | **/__mocks__/**
2 | **/__tests__/**
3 | BUCK
4 |
--------------------------------------------------------------------------------
/template/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "HelloWorld",
3 | "displayName": "HelloWorld"
4 | }
--------------------------------------------------------------------------------
/ReactCommon/better/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/cxxreact/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/hermes/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/hermes/inspector/tools/msggen/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | bin/
3 | node_modules/
4 |
--------------------------------------------------------------------------------
/ReactCommon/yoga/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/callinvoker/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/jsiexecutor/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/jsinspector/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/microprofiler/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/react/config/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/react/utils/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/jsengineinstance/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/react/nativemodule/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/reactperflogger/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactCommon/runtimeexecutor/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/react/jni/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/packages/rn-tester/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "react-native/no-inline-styles": 0
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/keystores/debug.keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/keystores/debug.keystore
--------------------------------------------------------------------------------
/template/_eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: '@react-native-community',
4 | };
5 |
--------------------------------------------------------------------------------
/template/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ['module:metro-react-native-babel-preset'],
3 | };
4 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/yogajni/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/hermes/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/IntegrationTests/blue_square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/IntegrationTests/blue_square.png
--------------------------------------------------------------------------------
/IntegrationTests/red_square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/IntegrationTests/red_square.png
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/fabric/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/modules/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/packages/rn-tester/Gemfile:
--------------------------------------------------------------------------------
1 | # Gemfile
2 | source 'https://rubygems.org'
3 |
4 | gem 'cocoapods', '= 1.10.1'
5 | gem 'rexml'
6 |
--------------------------------------------------------------------------------
/Libraries/ReactPrivate/README:
--------------------------------------------------------------------------------
1 | JS modules in this folder are forwarding modules to allow React to require React Native internals.
2 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/turbomodule/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/ReactAndroid/src/test/resources/robolectric.properties:
--------------------------------------------------------------------------------
1 | # Set this to minimum supported API level for React Native.
2 | sdk=21
3 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/template/android/app/debug.keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/debug.keystore
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/call.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/call.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/fist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/fist.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/hawk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/hawk.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/like.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/poke.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/poke.png
--------------------------------------------------------------------------------
/Libraries/Image/__tests__/img/img1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/Image/__tests__/img/img1.png
--------------------------------------------------------------------------------
/Libraries/Image/__tests__/img/img2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/Image/__tests__/img/img2.png
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/prebuilt/lib/DUMMY:
--------------------------------------------------------------------------------
1 | # just a dummy temporarily to make BUCK happy about folder not present before Gradle built it
2 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bunny.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bunny.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/dislike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/dislike.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/empty.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/flowers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/flowers.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/flux@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/flux@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/heart.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/liking.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/liking.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/party.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/party.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/slider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/slider.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/trees.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/trees.jpg
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/victory.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/victory.png
--------------------------------------------------------------------------------
/template/ios/HelloWorld/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Libraries/LogBox/UI/LogBoxImages/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/LogBox/UI/LogBoxImages/close.png
--------------------------------------------------------------------------------
/Libraries/NewAppScreen/components/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/NewAppScreen/components/logo.png
--------------------------------------------------------------------------------
/ReactAndroid/.npmignore:
--------------------------------------------------------------------------------
1 | # Make sure we never publish ReactAndroid/build (Gradle output) to npm.
2 | # The folder is huge (> 100MB)!
3 | build/
4 |
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bandaged.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bandaged.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/imageMask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/imageMask.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/relay@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/relay@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/slider@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/slider@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/superlike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/superlike.png
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Windows files should use crlf line endings
2 | # https://help.github.com/articles/dealing-with-line-endings/
3 | *.bat text eol=crlf
4 |
--------------------------------------------------------------------------------
/Libraries/LogBox/UI/LogBoxImages/loader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/LogBox/UI/LogBoxImages/loader.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/search-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/search-icon.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/slider-left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/slider-left.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/slider-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/slider-right.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Hello App Display Name
3 |
4 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/reactperflogger/.clang-tidy:
--------------------------------------------------------------------------------
1 | ---
2 | Checks: '>
3 | clang-diagnostic-*,
4 | '
5 | ...
6 |
--------------------------------------------------------------------------------
/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/legacy_image@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/legacy_image@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/documentation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/documentation.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/slider-left@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/slider-left@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/uie_thumb_big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/uie_thumb_big.png
--------------------------------------------------------------------------------
/template/_buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/Libraries/LogBox/UI/LogBoxImages/chevron-left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/LogBox/UI/LogBoxImages/chevron-left.png
--------------------------------------------------------------------------------
/Libraries/LogBox/UI/LogBoxImages/chevron-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/LogBox/UI/LogBoxImages/chevron-right.png
--------------------------------------------------------------------------------
/ReactCommon/hermes/inspector/docs/InspectorFSM.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/ReactCommon/hermes/inspector/docs/InspectorFSM.pdf
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/RNTesterBundle/OtherImages.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterUnitTests/libOCMock.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterUnitTests/libOCMock.a
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bookmark-filled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bookmark-filled.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bookmark-outline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bookmark-outline.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/slider-right@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/slider-right@2x.png
--------------------------------------------------------------------------------
/template/_gitattributes:
--------------------------------------------------------------------------------
1 | # Windows files should use crlf line endings
2 | # https://help.github.com/articles/dealing-with-line-endings/
3 | *.bat text eol=crlf
4 |
--------------------------------------------------------------------------------
/template/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/header-back-button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/header-back-button.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/uie_thumb_normal@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/uie_thumb_normal@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/my-release-key.keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/my-release-key.keystore
--------------------------------------------------------------------------------
/packages/rn-tester/e2e/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "setupFilesAfterEnv" : ["./test-init.js"],
3 | "testEnvironment": "node",
4 | "bail": true,
5 | "verbose": true
6 | }
7 |
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bookmark-outline-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bookmark-outline-blue.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bookmark-outline-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bookmark-outline-gray.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/uie_comment_normal@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/uie_comment_normal@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/uie_thumb_selected@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/uie_thumb_selected@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/examples/Accessibility/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/examples/Accessibility/check.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/examples/Accessibility/mixed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/examples/Accessibility/mixed.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bottom-nav-bookmark-fill.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bottom-nav-bookmark-fill.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/examples/Accessibility/uncheck.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/examples/Accessibility/uncheck.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/RNTesterBundle/ImageInBundle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/RNTesterBundle/ImageInBundle.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/blue_square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/blue_square.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/red_square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/red_square.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bottom-nav-apis-icon-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bottom-nav-apis-icon-active.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bottom-nav-bookmark-outline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bottom-nav-bookmark-outline.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/uie_comment_highlighted@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/uie_comment_highlighted@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bottom-nav-apis-icon-inactive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bottom-nav-apis-icon-inactive.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/font/rubik_bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/font/rubik_bold.ttf
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/font/rubik_light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/font/rubik_light.ttf
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/font/rubik_medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/font/rubik_medium.ttf
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/tumblr_mfqekpMktw1rn90umo1_500.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/tumblr_mfqekpMktw1rn90umo1_500.gif
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ReactAndroid/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/assets/fonts/notoserif.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/assets/fonts/notoserif.ttf
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/drawable/tv_banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/drawable/tv_banner.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/font/rubik_regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/font/rubik_regular.ttf
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bottom-nav-components-icon-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bottom-nav-components-icon-active.png
--------------------------------------------------------------------------------
/template/_prettierrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | bracketSpacing: false,
3 | jsxBracketSameLine: true,
4 | singleQuote: true,
5 | trailingComma: 'all',
6 | arrowParens: 'avoid',
7 | };
8 |
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "requirePragma": true,
3 | "singleQuote": true,
4 | "trailingComma": "all",
5 | "bracketSpacing": false,
6 | "jsxBracketSameLine": true,
7 | "arrowParens": "avoid"
8 | }
9 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "requirePragma": true,
3 | "singleQuote": true,
4 | "trailingComma": "all",
5 | "bracketSpacing": false,
6 | "jsxBracketSameLine": true
7 | }
8 |
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/drawable/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/drawable/launcher_icon.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/drawable/legacy_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/drawable/legacy_image.png
--------------------------------------------------------------------------------
/packages/rn-tester/js/assets/bottom-nav-components-icon-inactive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/js/assets/bottom-nav-components-icon-inactive.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/packages/react-native-codegen/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/react-native-codegen/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/font/rubik_medium_italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/font/rubik_medium_italic.ttf
--------------------------------------------------------------------------------
/ReactCommon/hermes/inspector/tools/msggen/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [ "@babel/preset-flow", ["@babel/preset-env", {
3 | "targets": {
4 | "node": "current"
5 | }
6 | }]
7 | ],
8 | }
9 |
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/drawable/ic_menu_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/drawable/ic_menu_black_24dp.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/drawable/ic_create_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/drawable/ic_create_black_48dp.png
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | ✋ To keep the backlog clean and actionable, issues will be
2 | 🚫 closed if they do not follow one of the issue templates:
3 | 👉 https://github.com/facebook/react-native/issues/new/choose
4 |
5 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/assets/fonts/notoserif_bold_italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/assets/fonts/notoserif_bold_italic.ttf
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/drawable/ic_settings_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/android/app/src/main/res/drawable/ic_settings_black_48dp.png
--------------------------------------------------------------------------------
/ReactAndroid/src/androidTest/assets/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "rn_android_resource")
2 |
3 | rn_android_resource(
4 | name = "assets",
5 | assets = ".",
6 | visibility = ["PUBLIC"],
7 | )
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small-40@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/Icon-Small-40@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/iTunesArtwork@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/AppIcon.appiconset/iTunesArtwork@1x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/tabnav_list.imageset/tabnav_list@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/tabnav_list.imageset/tabnav_list@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | RNTester App
3 | com.facebook.react.uiapp.blobs
4 |
5 |
--------------------------------------------------------------------------------
/template/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'HelloWorld'
2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/tabnav_settings.imageset/tabnav_settings@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/tabnav_settings.imageset/tabnav_settings@3x.png
--------------------------------------------------------------------------------
/template/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import {AppRegistry} from 'react-native';
6 | import App from './App';
7 | import {name as appName} from './app.json';
8 |
9 | AppRegistry.registerComponent(appName, () => App);
10 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/NavBarButtonPlus.imageset/NavBarButtonPlus@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/NavBarButtonPlus.imageset/NavBarButtonPlus@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/story-background.imageset/story-background@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/story-background.imageset/story-background@2x.png
--------------------------------------------------------------------------------
/Libraries/Lists/__tests__/__snapshots__/VirtualizeUtils-test.js.snap:
--------------------------------------------------------------------------------
1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
2 |
3 | exports[`elementsThatOverlapOffsets errors on non-increasing offsets 1`] = `"bad offsets input, should be in increasing order: [150,50]"`;
4 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #eecc0000
4 | #ffffffff
5 |
6 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/tabnav_notification.imageset/tabnav_notification@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/Images.xcassets/tabnav_notification.imageset/tabnav_notification@3x.png
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | **/main.js
2 | **/staticBundle.js
3 | bots/node_modules
4 | docs/generatedComponentApiDocs.js
5 | flow/
6 | Libraries/Renderer/*
7 | Libraries/vendor/**/*
8 | node_modules/
9 | packages/*/node_modules
10 | packages/react-native-codegen/lib
11 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/third-party/jsc/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 | include $(CLEAR_VARS)
3 | LOCAL_MODULE:= jsc
4 | LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libjsc.so
5 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
6 | include $(PREBUILT_SHARED_LIBRARY)
--------------------------------------------------------------------------------
/template/ios/HelloWorld/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : UIResponder
5 |
6 | @property (nonatomic, strong) UIWindow *window;
7 |
8 | @end
9 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/RNTesterBundle/OtherImages.xcassets/ImageInAssetCatalog.imageset/react-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTester/RNTesterBundle/OtherImages.xcassets/ImageInAssetCatalog.imageset/react-logo.png
--------------------------------------------------------------------------------
/template/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/template/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/template/ios/HelloWorld/main.m:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char * argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/core/RawValue.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "RawValue.h"
9 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/core/StateUpdate.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "StateUpdate.h"
9 |
--------------------------------------------------------------------------------
/keystores/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
2 |
3 | fb_native.keystore(
4 | name = "debug",
5 | properties = "debug.keystore.properties",
6 | store = "debug.keystore",
7 | visibility = [
8 | "PUBLIC",
9 | ],
10 | )
11 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/systeminfo/values/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 8081
4 | @integer/react_native_dev_server_port
5 |
6 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testLayoutExample_1-iOS12@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testLayoutExample_1-iOS12@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testLayoutExample_1-iOS13@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testLayoutExample_1-iOS13@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testSliderExample_1-iOS12@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testSliderExample_1-iOS12@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testSwitchExample_1-iOS12@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testSwitchExample_1-iOS12@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testSwitchExample_1-iOS13@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testSwitchExample_1-iOS13@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testTextExample_1-iOS12@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testTextExample_1-iOS12@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testTextExample_1-iOS13@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testTextExample_1-iOS13@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testViewExample_1-iOS12@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testViewExample_1-iOS12@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testViewExample_1-iOS13@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testViewExample_1-iOS13@2x.png
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-af/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ar/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-as/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-az/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-bg/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-bn/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-bs/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ca/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-cb/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-cs/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-da/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-de/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-el/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-es/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-et/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-fa/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-fb/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-fi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-fr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-gu/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-hi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-hr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-hu/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-in/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-is/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-it/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-iw/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ja/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ka/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-km/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-kn/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ko/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-lo/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-lt/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-lv/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-mk/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ml/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-mn/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-mr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ms/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-my/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-nb/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ne/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-nl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-pa/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-pl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-pt/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-qz/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ro/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ru/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-si/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sk/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sn/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sq/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sv/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-sw/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ta/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-te/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-th/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-tl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-tr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-uk/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-ur/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-vi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-wo/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-zu/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/scheduler/SchedulerToolbox.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "SchedulerToolbox.h"
9 |
--------------------------------------------------------------------------------
/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = android-30
4 |
5 | [download]
6 | max_number_of_retries = 3
7 |
8 | [maven_repositories]
9 | central = https://repo1.maven.org/maven2
10 | google = https://maven.google.com/
11 |
12 | [alias]
13 | rntester = //packages/rn-tester/android/app:app
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/perftest/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "perftest",
5 | srcs = glob(["*.java"]),
6 | autoglob = False,
7 | visibility = [
8 | "PUBLIC",
9 | ],
10 | )
11 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/systrace/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "systrace",
5 | srcs = glob(["*.java"]),
6 | autoglob = False,
7 | visibility = [
8 | "PUBLIC",
9 | ],
10 | )
11 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-en-rGB/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-es-rES/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-fb-rLS/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-fr-rCA/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-pt-rPT/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-zh-rCN/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-zh-rHK/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/values-zh-rTW/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/mounting/ShadowTreeRevision.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "ShadowTreeRevision.h"
9 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS12@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS12@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS13@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios/testScrollViewExample_1-iOS13@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testImageSnapshotTest_1@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testImageSnapshotTest_1@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testImageSnapshotTest_1@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testImageSnapshotTest_1@3x.png
--------------------------------------------------------------------------------
/ReactCommon/hermes/inspector/docs/GenerateInspectorFSM.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Copyright (c) Facebook, Inc. and its affiliates.
3 | #
4 | # This source code is licensed under the MIT license found in the
5 | # LICENSE file in the root directory of this source tree.
6 |
7 | dot -Tpdf InspectorFSM.gv -o InspectorFSM.pdf
8 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testImageSnapshotTest_1_tvOS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testImageSnapshotTest_1_tvOS.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1@2x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1@3x.png
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1_tvOS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MLH-Fellowship/react-native/HEAD/packages/rn-tester/RNTesterIntegrationTests/ReferenceImages/IntegrationTests-IntegrationTestsApp/testSimpleSnapshotTest_1_tvOS.png
--------------------------------------------------------------------------------
/flow-typed/npm/base64-js_v1.x.x.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @flow strict
3 | * @format
4 | */
5 |
6 | declare module 'base64-js' {
7 | declare module.exports: {
8 | byteLength: string => number,
9 | fromByteArray: (Uint8Array | Array) => string,
10 | toByteArray: string => Uint8Array,
11 | };
12 | }
13 |
--------------------------------------------------------------------------------
/React/Fabric/RCTPrimitives.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | typedef NSInteger ReactTag;
11 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/element/Element.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "Element.h"
9 |
10 | // Intentionally empty.
11 |
--------------------------------------------------------------------------------
/scripts/circleci/gradle_download_deps.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) Facebook, Inc. and its affiliates.
3 | #
4 | # This source code is licensed under the MIT license found in the
5 | # LICENSE file in the root directory of this source tree.
6 |
7 | set -e
8 |
9 | ./gradlew :ReactAndroid:downloadNdkBuildDependencies
10 |
--------------------------------------------------------------------------------
/React/Base/RCTCxxConvert.m:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTCxxConvert.h"
9 |
10 | @implementation RCTCxxConvert
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/src/__tests__/__snapshots__/SchemaValidator-test.js.snap:
--------------------------------------------------------------------------------
1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
2 |
3 | exports[`SchemaValidator fails on components across modules with same name 1`] = `
4 | Array [
5 | "Duplicate components found with name Component1. Found in modules Module1, Module2",
6 | ]
7 | `;
8 |
--------------------------------------------------------------------------------
/React/Views/RCTDatePicker.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTDatePicker : UIDatePicker
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/views/modal/anim/catalyst_slide_down.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/views/modal/anim/catalyst_slide_up.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/element/ElementFragment.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "ElementFragment.h"
9 |
10 | // Intentionally empty.
11 |
--------------------------------------------------------------------------------
/packages/assets/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@react-native/assets",
3 | "version": "1.0.0",
4 | "description": "Asset support code for React Native.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git@github.com:facebook/react-native.git",
8 | "directory": "packages/assets"
9 | },
10 | "license": "MIT"
11 | }
12 |
--------------------------------------------------------------------------------
/packages/polyfills/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@react-native/polyfills",
3 | "version": "1.0.0",
4 | "description": "Polyfills for React Native.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git@github.com:facebook/react-native.git",
8 | "directory": "packages/polyfills"
9 | },
10 | "license": "MIT"
11 | }
12 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterPods.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterPods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/rn-get-polyfills.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | module.exports = require('@react-native/polyfills');
13 |
--------------------------------------------------------------------------------
/Libraries/Types/RootTagTypes.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict
8 | * @format
9 | */
10 |
11 | export type {RootTag} from '../ReactNative/RootTag';
12 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTAppState.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTAppState : RCTEventEmitter
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/RCTSliderManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTSliderManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/RCTSwitchManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTSwitchManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ReactAndroid/README.md:
--------------------------------------------------------------------------------
1 | # Building React Native for Android
2 |
3 | See the [docs on the website](https://reactnative.dev/docs/building-from-source.html#android).
4 |
5 | # Running tests
6 |
7 | When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see [Testing](https://github.com/facebook/react-native/wiki/Tests).
8 |
--------------------------------------------------------------------------------
/template/__tests__/App-test.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @format
3 | */
4 |
5 | import 'react-native';
6 | import React from 'react';
7 | import App from '../App';
8 |
9 | // Note: test renderer must be required after react-native.
10 | import renderer from 'react-test-renderer';
11 |
12 | it('renders correctly', () => {
13 | renderer.create();
14 | });
15 |
--------------------------------------------------------------------------------
/.circleci/README.md:
--------------------------------------------------------------------------------
1 | # Circle CI
2 |
3 | This directory is home to the Circle CI configuration file. Circle is our continuous integration service provider. You can see the overall status of React Native's builds at https://circleci.com/gh/facebook/react-native
4 |
5 | You may also see an individual PR's build status by scrolling down to the Checks section in the PR.
6 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTImageShadowView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTImageShadowView : RCTShadowView
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict-local
9 | */
10 |
11 | import '../Core/InitializeCore';
12 |
--------------------------------------------------------------------------------
/React/Views/RCTMaskedViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTMaskedViewManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Components/Touchable/__mocks__/ensureComponentIsNative.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | module.exports = () => true;
13 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTImageViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTImageViewManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/ReactNative/UIManagerInjection.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow
8 | * @format
9 | */
10 |
11 | export default {
12 | unstable_UIManager: (null: ?any),
13 | };
14 |
--------------------------------------------------------------------------------
/Libraries/Vibration/RCTVibration.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTVibration : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTClipboard.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTClipboard : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/RCTActivityIndicatorView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTActivityIndicatorView : UIActivityIndicatorView
11 | @end
12 |
--------------------------------------------------------------------------------
/React/Views/RCTProgressViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTProgressViewManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/fb/include/fb/visibility.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #pragma once
9 |
10 | #define FBEXPORT __attribute__((visibility("default")))
11 |
--------------------------------------------------------------------------------
/bots/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "danger": "node ./node_modules/.bin/danger"
5 | },
6 | "devDependencies": {
7 | "danger": "^7.1.4",
8 | "lodash.includes": "^4.3.0",
9 | "minimatch": "^3.0.4"
10 | },
11 | "dependencies": {
12 | "@octokit/rest": "^16.43.0",
13 | "firebase": "^7.10.0"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/scripts/launchPackager.bat:
--------------------------------------------------------------------------------
1 | :: Copyright (c) Facebook, Inc. and its affiliates.
2 | ::
3 | :: This source code is licensed under the MIT license found in the
4 | :: LICENSE file in the root directory of this source tree.
5 |
6 | @echo off
7 | title Metro
8 | call .packager.bat
9 | cd ../../../
10 | node "%~dp0..\cli.js" start
11 | pause
12 | exit
13 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTKeyboardObserver.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTKeyboardObserver : RCTEventEmitter
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/RCTMaskedView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTMaskedView : RCTView
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/jni-hack/README.md:
--------------------------------------------------------------------------------
1 | This buck module exists so that targets that need to be built against both 1) Android (where we can and should use the Android NDK jni headers) and 2) the host platform(generally for local unit tests) can depend on a single target and get the right jni header for whatever platform they're building against automatically.
2 |
--------------------------------------------------------------------------------
/flow-typed/npm/stacktrace-parser_v0.1.x.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @flow strict
3 | * @format
4 | */
5 |
6 | type StackFrame = {
7 | file: string,
8 | methodName: string,
9 | lineNumber: number,
10 | column: ?number,
11 | };
12 |
13 | declare module 'stacktrace-parser' {
14 | declare module.exports: {
15 | parse: string => Array,
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/packages/rn-tester/NativeModuleExample/Screenshot.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface ScreenshotManager : RCTViewManager
11 | @end
12 |
--------------------------------------------------------------------------------
/Libraries/Blob/RCTFileReaderModule.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTFileReaderModule : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/ReactNative/HeadlessJsTaskError.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict-local
8 | * @format
9 | */
10 |
11 | export default class HeadlessJsTaskError extends Error {}
12 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/RCTInputAccessoryViewContent.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTInputAccessoryViewContent : UIView
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Base/RCTInitializing.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @protocol RCTInitializing
11 |
12 | - (void)initialize;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/Base/RCTInvalidating.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @protocol RCTInvalidating
11 |
12 | - (void)invalidate;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/Views/RCTSegmentedControlManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTSegmentedControlManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/packages/normalize-color/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@react-native/normalize-color",
3 | "version": "1.0.0",
4 | "description": "Color normalization code for React Native.",
5 | "repository": {
6 | "type": "git",
7 | "url": "git@github.com:facebook/react-native.git",
8 | "directory": "packages/normalize-color"
9 | },
10 | "license": "MIT"
11 | }
12 |
--------------------------------------------------------------------------------
/packages/rn-tester/RCTTest/RCTSnapshotManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTSnapshotManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Image/AssetRegistry.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict
8 | * @format
9 | */
10 |
11 | 'use strict';
12 |
13 | module.exports = require('@react-native/assets/registry');
14 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTGIFImageDecoder.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTGIFImageDecoder : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTImageEditingManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTImageEditingManager : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/RCTInputAccessoryShadowView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTInputAccessoryShadowView : RCTShadowView
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/RefreshControl/RCTRefreshControlManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTRefreshControlManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/ScrollView/RCTScrollContentViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTScrollContentViewManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/yogajni/jni/YGJNIVanilla.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "jni.h"
9 |
10 | namespace YGJNIVanilla {
11 | void registerNatives(JNIEnv* env);
12 | };
13 |
--------------------------------------------------------------------------------
/ReactCommon/hermes/inspector/DEFS.bzl:
--------------------------------------------------------------------------------
1 | load("@fbsource//xplat/hermes/defs:hermes.bzl", "hermes_is_debugger_enabled")
2 |
3 | def hermes_inspector_dep_list():
4 | return [
5 | "//xplat/js/react-native-github/ReactCommon/hermes/inspector:chrome",
6 | "//xplat/js/react-native-github/ReactCommon/hermes/inspector:inspectorlib",
7 | ] if hermes_is_debugger_enabled() else []
8 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTLocalAssetImageLoader.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTLocalAssetImageLoader : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Drivers/RCTDecayAnimation.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTAnimationDriver.h"
9 |
10 | @interface RCTDecayAnimation : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Drivers/RCTFrameAnimation.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTAnimationDriver.h"
9 |
10 | @interface RCTFrameAnimation : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTAnimationDriver.h"
9 |
10 | @interface RCTSpringAnimation : NSObject
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTModuloAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTModuloAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTTrackingAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTAnimatedNode.h"
9 |
10 |
11 | @interface RCTTrackingAnimatedNode : RCTAnimatedNode
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/RCTInputAccessoryViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTInputAccessoryViewManager : RCTViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/Views/RCTConvert+Transform.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTConvert.h"
9 |
10 | @interface RCTConvert (Transform)
11 |
12 | + (CATransform3D)CATransform3D:(id)json;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/jni-hack/jni.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #pragma once
9 |
10 | #ifdef __ANDROID__
11 | #include_next
12 | #else
13 | #include "real/jni.h"
14 | #endif
15 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/android/gradlePlugin-build/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | rootProject.name = 'react-native-codegen-gradlePlugin-build'
9 |
10 | include(":gradlePlugin")
11 |
--------------------------------------------------------------------------------
/template.config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | module.exports = {
9 | placeholderName: 'HelloWorld',
10 | titlePlaceholder: 'Hello App Display Name',
11 | templateDir: './template',
12 | };
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTAdditionAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTAdditionAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTDiffClampAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTDiffClampAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTDivisionAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTDivisionAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextShadowView.h"
9 |
10 | @interface RCTVirtualTextShadowView : RCTBaseTextShadowView
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextViewManager.h"
9 |
10 | @interface RCTVirtualTextViewManager : RCTBaseTextViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTDeviceInfo.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTDeviceInfo : NSObject
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/Views/ScrollView/RCTScrollContentView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTScrollContentView : RCTView
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/third-party/fmt/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_MODULE := fmt
6 |
7 | LOCAL_SRC_FILES := \
8 | src/format.cc
9 |
10 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/
11 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/
12 |
13 | LOCAL_CFLAGS += -std=c++11 -fexceptions
14 |
15 | include $(BUILD_STATIC_LIBRARY)
16 |
--------------------------------------------------------------------------------
/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | module.exports = require('../UnimplementedViews/UnimplementedView');
13 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/RCTBaseTextInputViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextViewManager.h"
9 |
10 | @interface RCTBaseTextInputViewManager : RCTBaseTextViewManager
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/Utilities/DeviceInfo.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict-local
9 | */
10 |
11 | import NativeDeviceInfo from './NativeDeviceInfo';
12 |
13 | module.exports = NativeDeviceInfo;
14 |
--------------------------------------------------------------------------------
/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryContentView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTInputAccessoryContentView : UIView
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/views/modal/anim/catalyst_fade_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/views/modal/anim/catalyst_fade_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/ReactCommon/hermes/inspector/tools/format:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | DIR="$(dirname "${BASH_SOURCE[0]}")"
4 | cd "$DIR"
5 |
6 | FBSOURCE="$(hg root)"
7 | CLANG_FORMAT="$FBSOURCE/tools/third-party/clang-format/clang-format"
8 | SRC="$FBSOURCE/xplat/js/react-native-github/ReactCommon/hermes/inspector"
9 |
10 | find "$SRC" '(' -name '*.h' -or -name '*.cpp' ')' -exec "$CLANG_FORMAT" -i -style=file '{}' ';'
11 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/image/tests/ImageTest.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include
11 |
12 | TEST(ImageTest, testSomething) {
13 | // TODO
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/text/tests/TextTest.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include
11 |
12 | TEST(TextTest, testSomething) {
13 | // TODO:
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/graphics/tests/GraphicsTest.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include
11 |
12 | TEST(GraphicsTest, testSomething) {
13 | // TODO
14 | }
15 |
--------------------------------------------------------------------------------
/template/metro.config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Metro configuration for React Native
3 | * https://github.com/facebook/react-native
4 | *
5 | * @format
6 | */
7 |
8 | module.exports = {
9 | transformer: {
10 | getTransformOptions: async () => ({
11 | transform: {
12 | experimentalImportSupport: false,
13 | inlineRequires: true,
14 | },
15 | }),
16 | },
17 | };
18 |
--------------------------------------------------------------------------------
/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | module.exports = require('../UnimplementedViews/UnimplementedView');
13 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTUIImageViewAnimated.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | @interface RCTUIImageViewAnimated : UIImageView
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTInterpolationAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTInterpolationAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTMultiplicationAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTMultiplicationAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTSubtractionAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTValueAnimatedNode.h"
9 |
10 | @interface RCTSubtractionAnimatedNode : RCTValueAnimatedNode
11 |
12 | @end
13 |
14 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/slider/tests/SliderTest.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include
11 |
12 | TEST(SliderTest, testSomething) {
13 | // TODO
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/core/ShadowNodeTraits.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "ShadowNodeTraits.h"
9 |
10 | namespace facebook {
11 | namespace react {} // namespace react
12 | } // namespace facebook
13 |
--------------------------------------------------------------------------------
/flow/Position.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict
8 | * @nolint
9 | * @format
10 | */
11 |
12 | declare class Position {
13 | coords: Coordinates;
14 | timestamp: number;
15 | mocked: boolean;
16 | }
17 |
--------------------------------------------------------------------------------
/Libraries/StyleSheet/EdgeInsetsPropType.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict
9 | */
10 |
11 | 'use strict';
12 |
13 | import type {Rect} from './Rect';
14 |
15 | export type EdgeInsetsProp = Rect;
16 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTActionSheetManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTActionSheetManager : NSObject
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTPlatform.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTPlatform : NSObject
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTSourceCode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTSourceCode : NSObject
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/packages/rn-tester/RCTTest/FBSnapshotTestCase/UIImage+Diff.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface UIImage (Diff)
11 |
12 | - (UIImage *)diffWithImage:(UIImage *)image;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/Libraries/Modal/ModalInjection.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict-local
8 | * @format
9 | */
10 |
11 | import typeof Modal from './Modal';
12 |
13 | export default {
14 | unstable_Modal: (null: ?Modal),
15 | };
16 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/scrollview/tests/ScrollViewTest.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include
11 |
12 | TEST(ScrollViewTest, testSomething) {
13 | // TODO
14 | }
15 |
--------------------------------------------------------------------------------
/packages/rn-tester/RCTTest/FBSnapshotTestCase/UIImage+Compare.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface UIImage (Compare)
11 |
12 | - (BOOL)compareWithImage:(UIImage *)image;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/Libraries/Blob/__mocks__/BlobModule.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict
8 | * @format
9 | */
10 |
11 | const BlobModule = {
12 | createFromParts() {},
13 | release() {},
14 | };
15 |
16 | module.exports = BlobModule;
17 |
--------------------------------------------------------------------------------
/Libraries/Components/MaskedView/MaskedViewIOS.android.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict-local
9 | */
10 |
11 | 'use strict';
12 |
13 | module.exports = require('../UnimplementedViews/UnimplementedView');
14 |
--------------------------------------------------------------------------------
/Libraries/StyleSheet/PointPropType.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict
9 | */
10 |
11 | 'use strict';
12 |
13 | export type PointProp = $ReadOnly<{
14 | x: number,
15 | y: number,
16 | ...
17 | }>;
18 |
--------------------------------------------------------------------------------
/Libraries/Text/Text/RCTTextViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "RCTBaseTextViewManager.h"
11 |
12 | @interface RCTTextViewManager : RCTBaseTextViewManager
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/Base/RCTNullability.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | typedef NS_ENUM(NSUInteger, RCTNullability) {
11 | RCTNullabilityUnspecified,
12 | RCTNullable,
13 | RCTNonnullable,
14 | };
15 |
--------------------------------------------------------------------------------
/React/DevSupport/RCTDevLoadingViewSetEnabled.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | RCT_EXTERN void RCTDevLoadingViewSetEnabled(BOOL enabled);
11 | RCT_EXTERN BOOL RCTDevLoadingViewGetEnabled(void);
12 |
--------------------------------------------------------------------------------
/React/Views/ScrollView/RCTScrollContentShadowView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTScrollContentShadowView : RCTShadowView
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/libraries/fbcore/src/main/java/com/facebook/common/logging/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "logging",
5 | autoglob = False,
6 | visibility = ["//ReactAndroid/..."],
7 | exported_deps = [
8 | react_native_dep("libraries/fresco/fresco-react-native:fbcore"),
9 | ],
10 | )
11 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/android/gradlePlugin-build/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | allprojects {
9 | repositories {
10 | mavenLocal()
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleProvider.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.bridge;
9 |
10 | public interface JSIModuleProvider {
11 |
12 | T get();
13 | }
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/bridge/MemoryPressure.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.bridge;
9 |
10 | public enum MemoryPressure {
11 | UI_HIDDEN,
12 | MODERATE,
13 | CRITICAL
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/safeareaview/SafeAreaViewState.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "SafeAreaViewState.h"
9 |
10 | namespace facebook {
11 | namespace react {} // namespace react
12 | } // namespace facebook
13 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/NativeExampleViews/FlexibleSizeExampleView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface FlexibleSizeExampleView : RCTView
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/Libraries/Wrapper/Example/RCTWrapperExampleView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTWrapperExampleView : UIView
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/debug/debugoverlay/model/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "model",
5 | srcs = glob(["*.java"]),
6 | autoglob = False,
7 | visibility = [
8 | "PUBLIC",
9 | ],
10 | deps = [
11 | react_native_dep("third-party/java/jsr-305:jsr-305"),
12 | ],
13 | )
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/views/image/ImageResizeMethod.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.views.image;
9 |
10 | public enum ImageResizeMethod {
11 | AUTO,
12 | RESIZE,
13 | SCALE
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputState.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "TextInputState.h"
9 |
10 | namespace facebook {
11 | namespace react {} // namespace react
12 | } // namespace facebook
13 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/mounting/MountingTransactionMetadata.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "MountingTransactionMetadata.h"
9 |
10 | namespace facebook {
11 | namespace react {} // namespace react
12 | } // namespace facebook
13 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/NativeExampleViews/UpdatePropertiesExampleView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface UpdatePropertiesExampleView : RCTView
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponentController.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTSurfaceHostingComponentController : CKComponentController
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeArrayInterface.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.bridge;
9 |
10 | public interface NativeArrayInterface {
11 | @Override
12 | String toString();
13 | }
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/common/ReactConstants.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.common;
9 |
10 | public class ReactConstants {
11 |
12 | public static final String TAG = "ReactNative";
13 | }
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ContentSizeWatcher.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.views.textinput;
9 |
10 | public interface ContentSizeWatcher {
11 | public void onLayout();
12 | }
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/systrace/TraceListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.systrace;
9 |
10 | public interface TraceListener {
11 | void onTraceStarted();
12 |
13 | void onTraceStopped();
14 | }
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/hermes/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright (c) Facebook, Inc. and its affiliates.
2 | #
3 | # This source code is licensed under the MIT license found in the
4 | # LICENSE file in the root directory of this source tree.
5 |
6 | LOCAL_PATH:= $(call my-dir)
7 | include $(CLEAR_VARS)
8 | LOCAL_MODULE:= hermes
9 | LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libhermes.so
10 | include $(PREBUILT_SHARED_LIBRARY)
11 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # This is causing issue with dependencies task: https://github.com/gradle/gradle/issues/9645#issuecomment-530746758
2 | # org.gradle.configureondemand=true
3 | org.gradle.daemon=true
4 | org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
5 | org.gradle.parallel=true
6 |
7 | ANDROID_NDK_VERSION=21.4.7075529
8 | android.useAndroidX=true
9 | kotlin_version=1.4.21
10 |
--------------------------------------------------------------------------------
/local-cli/cli.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | var cli = require('@react-native-community/cli');
13 |
14 | if (require.main === module) {
15 | cli.run();
16 | }
17 |
18 | module.exports = cli;
19 |
--------------------------------------------------------------------------------
/packages/rn-tester/js/examples/Snapshot/SnapshotViewIOS.android.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | module.exports = require('react-native/Libraries/Components/UnimplementedViews/UnimplementedView');
13 |
--------------------------------------------------------------------------------
/Libraries/Utilities/LoadingView.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict-local
9 | */
10 |
11 | 'use strict';
12 |
13 | module.exports = {
14 | showMessage(message: string, type: 'load' | 'refresh') {},
15 | hide() {},
16 | };
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/hermes/unicode/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "unicode",
5 | srcs = glob(["**/*.java"]),
6 | autoglob = False,
7 | visibility = [
8 | "PUBLIC",
9 | ],
10 | deps = [
11 | react_native_dep("java/com/facebook/proguard/annotations:annotations"),
12 | ],
13 | )
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/BundleLoadCallback.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.devsupport.interfaces;
9 |
10 | public interface BundleLoadCallback {
11 | void onSuccess();
12 | }
13 |
--------------------------------------------------------------------------------
/Libraries/Text/BaseText/RCTBaseTextViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTBaseTextViewManager : RCTViewManager
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/Libraries/Text/RawText/RCTRawTextViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTRawTextViewManager : RCTViewManager
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/React/Views/SafeAreaView/RCTSafeAreaShadowView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTSafeAreaShadowView : RCTShadowView
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/React/Views/SafeAreaView/RCTSafeAreaViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTSafeAreaViewManager : RCTViewManager
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/third-party/java/jsr-330/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
2 |
3 | fb_native.prebuilt_jar(
4 | name = "jsr-330",
5 | binary_jar = ":jsr330-binary.jar",
6 | visibility = ["PUBLIC"],
7 | )
8 |
9 | fb_native.remote_file(
10 | name = "jsr330-binary.jar",
11 | sha1 = "6975da39a7040257bd51d21a231b76c915872d38",
12 | url = "mvn:javax.inject:javax.inject:jar:1",
13 | )
14 |
--------------------------------------------------------------------------------
/ReactCommon/hermes/executor/JSITracing.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | namespace facebook {
11 | namespace jsi {
12 |
13 | void addNativeTracingHooks(Runtime &rt);
14 |
15 | } // namespace jsi
16 | } // namespace facebook
17 |
--------------------------------------------------------------------------------
/Libraries/Image/RCTImageBlurUtils.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 |
13 | RCT_EXTERN UIImage *RCTBlurredImageWithRadius(UIImage *inputImage, CGFloat radius);
14 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTStyleAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTAnimatedNode.h"
9 |
10 | @interface RCTStyleAnimatedNode : RCTAnimatedNode
11 |
12 | - (NSDictionary *)propsDictionary;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/cli.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | /**
3 | * Copyright (c) Facebook, Inc. and its affiliates.
4 | *
5 | * This source code is licensed under the MIT license found in the
6 | * LICENSE file in the root directory of this source tree.
7 | *
8 | * @format
9 | */
10 |
11 | 'use strict';
12 |
13 | var cli = require('@react-native-community/cli');
14 |
15 | if (require.main === module) {
16 | cli.run();
17 | }
18 |
19 | module.exports = cli;
20 |
--------------------------------------------------------------------------------
/interface.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @flow strict
9 | */
10 |
11 | 'use strict';
12 |
13 | declare var __DEV__: boolean;
14 |
15 | declare var __REACT_DEVTOOLS_GLOBAL_HOOK__: any; /*?{
16 | inject: ?((stuff: Object) => void)
17 | };*/
18 |
--------------------------------------------------------------------------------
/packages/rn-tester/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Libraries/Core/ReactNativeVersion.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | * @generated by scripts/bump-oss-version.js
9 | * @flow strict
10 | */
11 |
12 | exports.version = {
13 | major: 0,
14 | minor: 0,
15 | patch: 0,
16 | prerelease: null,
17 | };
18 |
--------------------------------------------------------------------------------
/Libraries/NativeAnimation/Nodes/RCTTransformAnimatedNode.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTAnimatedNode.h"
9 |
10 | @interface RCTTransformAnimatedNode : RCTAnimatedNode
11 |
12 | - (NSDictionary *)propsDictionary;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTAlertController.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTAlertController : UIAlertController
11 |
12 | - (void)show:(BOOL)animated completion:(void (^)(void))completion;
13 | - (void)hide;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/react/jni/NativeTime.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #pragma once
9 |
10 | namespace facebook {
11 | namespace react {
12 |
13 | double reactAndroidNativePerformanceNowHook();
14 |
15 | } // namespace react
16 | } // namespace facebook
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/third-party/java/jsr-305/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
2 |
3 | fb_native.prebuilt_jar(
4 | name = "jsr-305",
5 | binary_jar = ":jsr305-binary.jar",
6 | visibility = ["PUBLIC"],
7 | )
8 |
9 | fb_native.remote_file(
10 | name = "jsr305-binary.jar",
11 | sha1 = "25ea2e8b0c338a877313bd4672d3fe056ea78f0d",
12 | url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.2",
13 | )
14 |
--------------------------------------------------------------------------------
/packages/polyfills/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | module.exports = () => [
13 | require.resolve('./console.js'),
14 | require.resolve('./error-guard.js'),
15 | require.resolve('./Object.es7.js'),
16 | ];
17 |
--------------------------------------------------------------------------------
/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTWrapperExampleViewController : UIViewController
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/React/Base/RCTWeakProxy.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface RCTWeakProxy : NSObject
11 |
12 | @property (nonatomic, weak, readonly) id target;
13 |
14 | + (instancetype)weakProxyWithTarget:(id)target;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ReactCommon/yoga/yoga/YGValue.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "YGValue.h"
9 |
10 | const YGValue YGValueZero = {0, YGUnitPoint};
11 | const YGValue YGValueUndefined = {YGUndefined, YGUnitUndefined};
12 | const YGValue YGValueAuto = {YGUndefined, YGUnitAuto};
13 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTLogBox.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import "RCTLogBoxView.h"
10 |
11 | @interface RCTLogBox : NSObject
12 |
13 | #if RCT_DEV_MENU
14 |
15 | - (void)setRCTLogBoxView:(RCTLogBoxView *)view;
16 |
17 | #endif
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/React/Views/RCTBorderStyle.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | typedef NS_ENUM(NSInteger, RCTBorderStyle) {
11 | RCTBorderStyleUnset = 0,
12 | RCTBorderStyleSolid,
13 | RCTBorderStyleDotted,
14 | RCTBorderStyleDashed,
15 | };
16 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/packagerconnection/Responder.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.packagerconnection;
9 |
10 | public interface Responder {
11 | void respond(Object result);
12 |
13 | void error(Object error);
14 | }
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/react/jni/OnLoad.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #pragma once
9 |
10 | #include
11 |
12 | namespace facebook {
13 | namespace react {
14 |
15 | jmethodID getLogMarkerMethod();
16 |
17 | } // namespace react
18 | } // namespace facebook
19 |
--------------------------------------------------------------------------------
/ReactAndroid/src/test/java/org/mockito/configuration/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "react_native_android_toplevel_dep", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "configuration",
5 | srcs = glob(["**/*.java"]),
6 | autoglob = False,
7 | visibility = [
8 | "PUBLIC",
9 | ],
10 | deps = [
11 | react_native_android_toplevel_dep("third-party/java/mockito2:mockito2"),
12 | ],
13 | )
14 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropState.mm:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "LegacyViewManagerInteropState.h"
9 |
10 | namespace facebook {
11 | namespace react {
12 | } // namespace react
13 | } // namespace facebook
14 |
--------------------------------------------------------------------------------
/packages/eslint-plugin-react-native-community/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@react-native-community/eslint-plugin",
3 | "version": "1.1.0",
4 | "description": "ESLint rules for @react-native-community/eslint-config",
5 | "main": "index.js",
6 | "repository": {
7 | "type": "git",
8 | "url": "git@github.com:facebook/react-native.git",
9 | "directory": "packages/eslint-plugin-react-native-community"
10 | },
11 | "license": "MIT"
12 | }
13 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextInputView.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTMultilineTextInputView : RCTBaseTextInputView
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextInputView.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTSinglelineTextInputView : RCTBaseTextInputView
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/yoga/YogaConfigFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.yoga;
9 |
10 | public abstract class YogaConfigFactory {
11 | public static YogaConfig create() {
12 | return new YogaConfigJNIFinalizer();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/hermes/executor/JSITracing.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "JSITracing.h"
9 |
10 | namespace facebook {
11 | namespace jsi {
12 | void addNativeTracingHooks(Runtime &rt) {
13 | // Unimplemented
14 | }
15 | } // namespace jsi
16 | } // namespace facebook
17 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/buck_tests/emptyFile.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | // TODO: Import every prop and event to asset they're generated
11 |
12 | int main(){
13 | return 0;
14 | }
15 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/RNTester.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.network.client
8 |
9 | com.apple.security.personal-information.photos-library
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/React/Base/Surface/RCTSurfaceRootView.mm:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTSurfaceRootView.h"
9 |
10 | #import "RCTDefines.h"
11 |
12 | @implementation RCTSurfaceRootView
13 |
14 | RCT_NOT_IMPLEMENTED(-(nullable instancetype)initWithCoder : (NSCoder *)coder)
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTDevLoadingView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 | #import
11 |
12 | @interface RCTDevLoadingView : NSObject
13 | @end
14 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/DatePickerMode.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.modules.datepicker;
9 |
10 | /** Date picker modes */
11 | public enum DatePickerMode {
12 | CALENDAR,
13 | SPINNER,
14 | DEFAULT
15 | }
16 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/modules/network/ProgressListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.modules.network;
9 |
10 | public interface ProgressListener {
11 | void onProgress(long bytesWritten, long contentLength, boolean done);
12 | }
13 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome: https://EditorConfig.org
2 |
3 | # top-most EditorConfig file
4 | root = true
5 |
6 | # Unix-style newlines with a newline ending every file
7 | [*]
8 | end_of_line = lf
9 | insert_final_newline = true
10 | indent_style = space
11 | indent_size = 2
12 |
13 | [*.gradle]
14 | indent_size = 4
15 |
16 | [*.kts]
17 | indent_size = 4
18 |
19 | [BUCK]
20 | indent_size = 4
21 |
22 | # Windows files
23 | [*.bat]
24 | end_of_line = crlf
25 |
--------------------------------------------------------------------------------
/React/CoreModules/RCTDevSplitBundleLoader.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 | #import
11 |
12 | @interface RCTDevSplitBundleLoader : NSObject
13 | @end
14 |
--------------------------------------------------------------------------------
/React/Fabric/Surface/RCTFabricSurfaceHostingView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | /**
11 | * Fabric-compatible RCTSurfaceHostingView implementation.
12 | */
13 | @interface RCTFabricSurfaceHostingView : RCTSurfaceHostingView
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ScrollWatcher.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.views.textinput;
9 |
10 | public interface ScrollWatcher {
11 | public void onScrollChanged(int horiz, int vert, int oldHoriz, int oldVert);
12 | }
13 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/README.md:
--------------------------------------------------------------------------------
1 | # react-native-codegen
2 |
3 | [![Version][version-badge]][package]
4 |
5 | ## Installation
6 |
7 | ```
8 | yarn add --dev react-native-codegen
9 | ```
10 |
11 | *Note: We're using `yarn` to install deps. Feel free to change commands to use `npm` 3+ and `npx` if you like*
12 |
13 | [version-badge]: https://img.shields.io/npm/v/react-native-codegen?style=flat-square
14 | [package]: https://www.npmjs.com/package/react-native-codegen
15 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/tabnav_list.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x"
10 | },
11 | {
12 | "idiom" : "universal",
13 | "scale" : "3x",
14 | "filename" : "tabnav_list@3x.png"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/packages/rn-tester/RNTesterUnitTests/RNTesterUnitTestsBundle.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | // eslint-disable-next-line no-unused-vars
13 | const __fbBatchedBridge = {
14 | flushedQueue: function() {
15 | return null;
16 | },
17 | };
18 |
--------------------------------------------------------------------------------
/template/android/app/src/main/java/com/helloworld/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.helloworld;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript. This is used to schedule
9 | * rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "HelloWorld";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/React/Views/RCTSwitch.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @interface RCTSwitch : UISwitch
13 |
14 | @property (nonatomic, assign) BOOL wasOn;
15 | @property (nonatomic, copy) RCTBubblingEventBlock onChange;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/perftest/PerfTestConfig.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.perftest;
9 |
10 | /** PerfTestConfig stub. */
11 | public class PerfTestConfig {
12 |
13 | public boolean isRunningInPerfTest() {
14 | return false;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/ReactApplication.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react;
9 |
10 | public interface ReactApplication {
11 |
12 | /** Get the default {@link ReactNativeHost} for this app. */
13 | ReactNativeHost getReactNativeHost();
14 | }
15 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/text/TextShadowNode.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "TextShadowNode.h"
9 |
10 | namespace facebook {
11 | namespace react {
12 |
13 | extern const char TextComponentName[] = "Text";
14 |
15 | } // namespace react
16 | } // namespace facebook
17 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/tabnav_settings.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x"
10 | },
11 | {
12 | "idiom" : "universal",
13 | "scale" : "3x",
14 | "filename" : "tabnav_settings@3x.png"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/React/Views/RCTSwitch.m:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTSwitch.h"
9 |
10 | #import "UIView+React.h"
11 |
12 | @implementation RCTSwitch
13 |
14 | - (void)setOn:(BOOL)on animated:(BOOL)animated
15 | {
16 | _wasOn = on;
17 | [super setOn:on animated:animated];
18 | }
19 |
20 | @end
21 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/PackagerStatusCallback.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.devsupport.interfaces;
9 |
10 | public interface PackagerStatusCallback {
11 | void onPackagerStatusFetched(boolean packagerIsRunning);
12 | }
13 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/jni/first-party/fbgloginit/fb/glog_init.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #pragma once
9 |
10 | #include
11 |
12 | namespace facebook {
13 | namespace gloginit {
14 |
15 | void initialize(const char *tag = "ReactNativeJNI");
16 |
17 | }
18 | } // namespace facebook
19 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/res/devsupport/layout/redbox_item_title.xml:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/ReactCommon/jsi/JSCRuntime.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #pragma once
9 |
10 | #include
11 | #include
12 |
13 | namespace facebook {
14 | namespace jsc {
15 |
16 | std::unique_ptr makeJSCRuntime();
17 |
18 | } // namespace jsc
19 | } // namespace facebook
20 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/NavBarButtonPlus.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x"
10 | },
11 | {
12 | "idiom" : "universal",
13 | "filename" : "NavBarButtonPlus@3x.png",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/story-background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x",
10 | "filename" : "story-background@2x.png"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/scripts/circleci/exec_swallow_error.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright (c) Facebook, Inc. and its affiliates.
3 | #
4 | # This source code is licensed under the MIT license found in the
5 | # LICENSE file in the root directory of this source tree.
6 |
7 | # execute command
8 | "$@"
9 |
10 | # check status
11 | STATUS=$?
12 | if [ $STATUS == 0 ]; then
13 | echo "Command " "$@" " completed successfully"
14 | else
15 | echo "Command " "$@" " exited with error status $STATUS"
16 | fi
17 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextInputViewManager.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTMultilineTextInputViewManager : RCTBaseTextInputViewManager
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/RCTInputAccessoryView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @class RCTBridge;
11 | @class RCTInputAccessoryViewContent;
12 |
13 | @interface RCTInputAccessoryView : UIView
14 |
15 | - (instancetype)initWithBridge:(RCTBridge *)bridge;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/React/Views/RCTPointerEvents.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | typedef NS_ENUM(NSInteger, RCTPointerEvents) {
11 | RCTPointerEventsUnspecified = 0, // Default
12 | RCTPointerEventsNone,
13 | RCTPointerEventsBoxNone,
14 | RCTPointerEventsBoxOnly,
15 | };
16 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/components/text/RawTextShadowNode.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include "RawTextShadowNode.h"
9 |
10 | namespace facebook {
11 | namespace react {
12 |
13 | extern const char RawTextComponentName[] = "RawText";
14 |
15 | } // namespace react
16 | } // namespace facebook
17 |
--------------------------------------------------------------------------------
/flow/Stringish.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict
8 | * @format
9 | */
10 |
11 | // This type allows Facebook to internally Override
12 | // this type to allow our internationalization type which
13 | // is a string at runtime but Flow doesn't know that.
14 | declare type Stringish = string;
15 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/Images.xcassets/tabnav_notification.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "scale" : "2x"
10 | },
11 | {
12 | "idiom" : "universal",
13 | "scale" : "3x",
14 | "filename" : "tabnav_notification@3x.png"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/main.m:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/scripts/versiontemplates/ReactNativeVersion.js.template:
--------------------------------------------------------------------------------
1 | /**
2 | * @generated by scripts/bump-oss-version.js
3 | *
4 | * Copyright (c) Facebook, Inc. and its affiliates.
5 | *
6 | * This source code is licensed under the MIT license found in the
7 | * LICENSE file in the root directory of this source tree.
8 | *
9 | * @flow strict
10 | */
11 |
12 | exports.version = {
13 | major: ${major},
14 | minor: ${minor},
15 | patch: ${patch},
16 | prerelease: ${prerelease},
17 | };
18 |
--------------------------------------------------------------------------------
/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "RCTBaseTextInputViewManager.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTSinglelineTextInputViewManager : RCTBaseTextInputViewManager
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/React/Views/RCTModalManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 | #import
12 |
13 | @interface RCTModalManager : RCTEventEmitter
14 |
15 | - (void)modalDismissed:(NSNumber *)modalID;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/React/Views/RCTShadowView+Internal.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | @class RCTRootShadowView;
13 |
14 | @interface RCTShadowView (Internal)
15 |
16 | @property (nonatomic, weak, readwrite) RCTRootShadowView *rootView;
17 |
18 | @end
19 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/module/model/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "model",
5 | srcs = glob(["**/*.java"]),
6 | autoglob = False,
7 | labels = ["supermodule:xplat/default/public.react_native.infra"],
8 | visibility = [
9 | "PUBLIC",
10 | ],
11 | deps = [
12 | react_native_dep("third-party/java/jsr-305:jsr-305"),
13 | ],
14 | )
15 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.modules.network;
9 |
10 | import okhttp3.OkHttpClient;
11 |
12 | public interface OkHttpClientFactory {
13 | OkHttpClient createNewNetworkModuleClient();
14 | };
15 |
--------------------------------------------------------------------------------
/packages/eslint-plugin-react-native-community/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | exports.rules = {
11 | 'error-subclass-name': require('./error-subclass-name'),
12 | 'no-haste-imports': require('./no-haste-imports'),
13 | 'platform-colors': require('./platform-colors'),
14 | };
15 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": [
3 | "@babel/plugin-proposal-object-rest-spread",
4 | "@babel/plugin-transform-async-to-generator",
5 | "@babel/plugin-transform-destructuring",
6 | "@babel/plugin-transform-flow-strip-types",
7 | "@babel/plugin-syntax-dynamic-import",
8 | "@babel/plugin-proposal-class-properties",
9 | "@babel/plugin-proposal-nullish-coalescing-operator",
10 | "@babel/plugin-proposal-optional-chaining"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/Libraries/NewAppScreen/components/Colors.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict-local
8 | * @format
9 | */
10 |
11 | export default {
12 | primary: '#1292B4',
13 | white: '#FFF',
14 | lighter: '#F3F3F3',
15 | light: '#DAE1E7',
16 | dark: '#444',
17 | darker: '#222',
18 | black: '#000',
19 | };
20 |
--------------------------------------------------------------------------------
/Libraries/Text/RawText/RCTRawTextShadowView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface RCTRawTextShadowView : RCTShadowView
13 |
14 | @property (nonatomic, copy, nullable) NSString *text;
15 |
16 | @end
17 |
18 | NS_ASSUME_NONNULL_END
19 |
--------------------------------------------------------------------------------
/React/Views/RCTWrapperViewController.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @class RCTWrapperViewController;
11 |
12 | @interface RCTWrapperViewController : UIViewController
13 |
14 | - (instancetype)initWithContentView:(UIView *)contentView NS_DESIGNATED_INITIALIZER;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/devsupport/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ReactCommon/react/renderer/uimanager/tests/FabricUIManagerTest.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include
11 | #include
12 |
13 | using namespace facebook::react;
14 |
15 | TEST(UIManagerTest, testSomething) {
16 | // TODO
17 | }
18 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/RNTesterBundle/OtherImages.xcassets/ImageInAssetCatalog.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "react-logo.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Libraries/ReactNative/ReactFabricInternals.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow
8 | * @format
9 | */
10 |
11 | 'use strict';
12 |
13 | const createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');
14 |
15 | module.exports = {
16 | createReactNativeComponentClass,
17 | };
18 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/reactperflogger/OnLoad.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #include
9 |
10 | #include "JNativeModulePerfLogger.h"
11 |
12 | JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
13 | return facebook::jni::initialize(vm, [] {});
14 | }
15 |
--------------------------------------------------------------------------------
/Libraries/RCTRequired/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "fb_apple_library")
2 |
3 | fb_apple_library(
4 | name = "RCTRequired",
5 | exported_headers = [
6 | "RCTRequired/RCTRequired.h",
7 | ],
8 | autoglob = False,
9 | complete_nullability = True,
10 | contacts = ["oncall+react_native@xmail.facebook.com"],
11 | extension_api_only = True,
12 | frameworks = ["Foundation"],
13 | labels = ["supermodule:xplat/default/public.react_native.infra"],
14 | )
15 |
--------------------------------------------------------------------------------
/Libraries/Utilities/__mocks__/GlobalPerformanceLogger.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @format
8 | */
9 |
10 | 'use strict';
11 |
12 | const GlobalPerformanceLogger = jest
13 | .unmock('../createPerformanceLogger')
14 | .genMockFromModule('../GlobalPerformanceLogger');
15 |
16 | module.exports = GlobalPerformanceLogger;
17 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/bridge/PerformanceCounter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | package com.facebook.react.bridge;
9 |
10 | import java.util.Map;
11 |
12 | public interface PerformanceCounter {
13 |
14 | void profileNextBatch();
15 |
16 | Map getPerformanceCounters();
17 | }
18 |
--------------------------------------------------------------------------------
/ReactAndroid/src/main/java/com/facebook/react/config/BUCK:
--------------------------------------------------------------------------------
1 | load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
2 |
3 | rn_android_library(
4 | name = "config",
5 | srcs = glob(["**/*.java"]),
6 | autoglob = False,
7 | labels = ["supermodule:xplat/default/public.react_native.infra"],
8 | visibility = [
9 | "PUBLIC",
10 | ],
11 | deps = [
12 | react_native_dep("java/com/facebook/proguard/annotations:annotations"),
13 | ],
14 | )
15 |
--------------------------------------------------------------------------------
/packages/eslint-plugin-codegen/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @emails react_native
8 | * @format
9 | */
10 |
11 | 'use strict';
12 |
13 | const reactNativeModules = require('./react-native-modules');
14 |
15 | module.exports = {
16 | rules: {
17 | 'react-native-modules': reactNativeModules,
18 | },
19 | };
20 |
--------------------------------------------------------------------------------
/packages/react-native-codegen/src/generators/Utils.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | *
7 | * @flow strict
8 | * @format
9 | */
10 |
11 | 'use strict';
12 |
13 | function capitalize(string: string): string {
14 | return string.charAt(0).toUpperCase() + string.slice(1);
15 | }
16 |
17 | module.exports = {
18 | capitalize,
19 | };
20 |
--------------------------------------------------------------------------------
/packages/rn-tester/RNTester/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @class RCTBridge;
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 | @property (nonatomic, readonly) RCTBridge *bridge;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/template/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
--------------------------------------------------------------------------------
/Libraries/Text/RCTTextTransform.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | typedef NS_ENUM(NSInteger, RCTTextTransform) {
11 | RCTTextTransformUndefined = 0,
12 | RCTTextTransformNone,
13 | RCTTextTransformCapitalize,
14 | RCTTextTransformUppercase,
15 | RCTTextTransformLowercase,
16 | };
17 |
--------------------------------------------------------------------------------
/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import
11 |
12 | NS_ASSUME_NONNULL_BEGIN
13 |
14 | @interface RCTWrapperReactRootViewManager : RCTWrapperViewManager
15 |
16 | @end
17 |
18 | NS_ASSUME_NONNULL_END
19 |
--------------------------------------------------------------------------------
/React/Views/RCTDatePickerManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Facebook, Inc. and its affiliates.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | @interface RCTConvert (UIDatePicker)
12 |
13 | + (UIDatePickerMode)UIDatePickerMode:(id)json;
14 |
15 | @end
16 |
17 | @interface RCTDatePickerManager : RCTViewManager
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/React/third-party.xcconfig:
--------------------------------------------------------------------------------
1 | //
2 | // folly.xcconfig
3 | // CxxReact
4 | //
5 | // Copyright (c) Facebook, Inc. and its affiliates.
6 | //
7 | // This source code is licensed under the MIT license found in the
8 | // LICENSE file in the root directory of this source tree.
9 | //
10 |
11 | HEADER_SEARCH_PATHS = $(SRCROOT)/../third-party/boost_1_63_0 $(SRCROOT)/../third-party/folly-2021.04.26.00 $(SRCROOT)/../third-party/glog-0.3.5/src
12 | OTHER_CFLAGS = -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1
13 |
--------------------------------------------------------------------------------