react-native/Examples/UIExplorer
Nick Lockwood fa0b45c58b Replaced RCTSparseArray with NSDictionary
Reviewed By: jspahrsummers

Differential Revision: D2651920

fb-gh-sync-id: 953e2ea33abfc7a3a553da95b13e9ab2bccc5a1c
2015-11-14 10:28:28 -08:00
..
AnimatedGratuitousApp [RN] New AnimationExample 2015-09-03 12:52:56 -08:00
Navigator Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
UIExplorer 'RCTRootView's size flexibility' UIExplorer demo 2015-11-12 11:43:43 -08:00
UIExplorer.xcodeproj Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
UIExplorerIntegrationTests Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
UIExplorerUnitTests Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
android/app Custom fonts support added 2015-11-06 18:15:31 -08:00
AccessibilityAndroidExample.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
AccessibilityIOSExample.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
ActionSheetIOSExample.js Fixed ActionSheetIOS on iOS 9 SDK 2015-10-21 12:21:28 -07:00
ActivityIndicatorIOSExample.js
AdSupportIOSExample.js
AlertIOSExample.js Use UIAlertController when available in AlertIOS 2015-10-30 11:26:27 -07:00
AnimatedExample.js [RN] New AnimationExample 2015-09-03 12:52:56 -08:00
AppStateIOSExample.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
AssetScaledImageExample.js [Image] Improved loading of Assets Library and Photos Framework images. 2015-07-21 05:32:48 -08:00
AsyncStorageExample.js [Async] Enable async/await and update UIExplorer and tests 2015-08-04 05:35:13 -08:00
BorderExample.js Added support for #rgba and #rrggbbaa colors 2015-11-09 08:02:46 -08:00
CameraRollExample.ios.js [Image] Improved loading of Assets Library and Photos Framework images. 2015-07-21 05:32:48 -08:00
CameraRollView.ios.js
DatePickerIOSExample.js
ExampleTypes.js React native fixups 2015-09-18 10:36:24 -07:00
GeolocationExample.js
ImageCapInsetsExample.js
ImageEditingExample.js [React Native] open source ImageEditingManager native module 2015-07-29 15:57:48 -08:00
ImageExample.js Added RCTDataRequestHandler 2015-10-19 09:07:06 -07:00
IntentAndroidExample.android.js Open source IntentAndroid 2015-11-12 12:41:32 -08:00
LayoutEventsExample.js Better text descriptions for examples 2015-09-15 14:55:27 -07:00
LayoutExample.js
ListViewExample.js
ListViewGridLayoutExample.js Add ListView Grid Layout Example to UIExplorer Examples 2015-07-16 06:02:15 -08:00
ListViewPagingExample.js [Animated][BREAKING_CHANGE] Convert <TouchableOpacity> to Animated 2015-07-20 16:44:36 -08:00
MapViewExample.js
ModalExample.js Make <Modal> visible by default 2015-10-30 17:09:27 -07:00
NavigatorIOSColorsExample.js Fix one warning 2015-09-30 21:02:25 -07:00
NavigatorIOSExample.js
NetInfoExample.js
PanResponderExample.js PanResponderExample fix for responding to events 2015-10-09 17:31:25 -07:00
PickerIOSExample.js
PointerEventsExample.js Better text descriptions for examples 2015-09-15 14:55:27 -07:00
ProgressBarAndroidExample.android.js Support progress in ProgressBarAndroid 2015-11-06 12:08:29 -08:00
ProgressViewIOSExample.js
PushNotificationIOSExample.js
RCTRootViewIOSExample.js 'RCTRootView's size flexibility' UIExplorer demo 2015-11-12 11:43:43 -08:00
README.md Add docs for examples 2015-10-12 16:16:39 +01:00
ScrollViewExample.js Fixes #3060 2015-10-02 14:32:23 -07:00
ScrollViewSimpleExample.js Get back 100% in sync with fb codebase 2015-09-16 10:30:53 -07:00
SegmentedControlIOSExample.js
SetPropertiesExampleApp.js 'Update app properties in runtime' UIExplorer demo 2015-11-12 11:43:34 -08:00
SliderIOSExample.js Improved SliderIOS 2015-10-30 09:13:26 -07:00
StatusBarIOSExample.js [StatusBar] Add ability to toggle the network activity indicator in the status bar + example in UIExplorer 2015-07-23 16:22:56 -08:00
SwitchAndroidExample.android.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
SwitchIOSExample.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
TabBarIOSExample.js Managed assets support for RCTConvert 2015-09-29 09:21:39 -07:00
TextExample.android.js Initial checkin for Image within Text nodes 2015-11-13 11:16:27 -08:00
TextExample.ios.js Simplify opaque nested Text UIExplorer example 2015-11-04 08:55:42 -08:00
TextInputExample.android.js implement android maxlength prop 2015-11-06 13:25:34 -08:00
TextInputExample.ios.js Add keyboardAppearance prop to TextInput component. 2015-11-11 05:38:35 -08:00
TimerExample.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
ToastAndroidExample.android.js Fix typos in example descriptions. 2015-10-20 04:38:21 -07:00
ToolbarAndroidExample.android.js Allow for styling of ToolbarAndroid's overflow icon 2015-10-22 04:43:25 -07:00
TouchableExample.js Better text descriptions for examples 2015-09-15 14:55:27 -07:00
TransformExample.js [transform] add perspective property to transform 2015-07-15 08:08:29 -08:00
TransparentHitTestExample.js Hit testing now treats views with 0.0 opacity as interactable 2015-10-30 04:14:25 -07:00
UIExplorerApp.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
UIExplorerApp.ios.js 'RCTRootView's size flexibility' UIExplorer demo 2015-11-12 11:43:43 -08:00
UIExplorerBlock.js
UIExplorerButton.js Add Timer example 2015-09-11 02:00:31 -07:00
UIExplorerList.android.js Open source IntentAndroid 2015-11-12 12:41:32 -08:00
UIExplorerList.ios.js 'Update app properties in runtime' UIExplorer demo 2015-11-12 11:43:34 -08:00
UIExplorerListBase.js [react_native] Refactor UIExplorerList to fix UIExplorerApp 2015-07-23 06:58:18 -08:00
UIExplorerPage.js
UIExplorerTitle.js
VibrationIOSExample.js
ViewExample.js Better text descriptions for examples 2015-09-15 14:55:27 -07:00
ViewPagerAndroidExample.android.js Add setPageWithoutAnimation 2015-11-13 08:05:27 -08:00
WebViewExample.js Exporting a synchronous UIWebView to JS 2015-11-04 08:44:29 -08:00
XHRExample.android.js revert D2631410 2015-11-13 17:51:30 -08:00
XHRExample.ios.js Add response headers to XHR response 2015-10-30 11:23:25 -07:00
XHRExampleHeaders.js Add response headers to XHR response 2015-10-30 11:23:25 -07:00
bunny.png add remote image support to toolbar 2015-09-30 09:21:27 -07:00
createExamplePage.js [ReactNative][SyncDiff] Add option to make examples platform specific 2015-09-01 04:56:05 -08:00
flux@3x.png Managed assets support for RCTConvert 2015-09-29 09:21:39 -07:00
hawk.png add remote image support to toolbar 2015-09-30 09:21:27 -07:00

README.md

UIExplorer

The UIExplorer is a sample app that showcases React Native views and modules.

Running this app

Before running the app, make sure you ran:

cd react-native
npm install

Running on iOS

Mac OS and Xcode are required.

  • Open Examples/UIExplorer/UIExplorer.xcodeproj in Xcode
  • Hit the Run button

See Running on device if you want to use a physical device.

Running on Android

You'll need to have all the prerequisites (SDK, NDK) for Building React Native installed.

Start an Android emulator (Genymotion is recommended).

cd react-native
./gradlew :Examples:UIExplorer:android:app:installDebug
./packager/packager.sh

Note: Building for the first time can take a while.

Open the UIExplorer app in your emulator.

See Running on Device in case you want to use a physical device.

Built from source

Building the app on both iOS and Android means building the React Native framework from source. This way you're running the latest native and JS code the way you see it in your clone of the github repo.

This is different from apps created using react-native init which have a dependency on a specific version of React Native JS and native code, declared in a package.json file (and build.gradle for Android apps).