Index
A
- absolute positioning, Using Absolute Positioning-Putting It Together (see also layouts)
- acknowledgments, Acknowledgments
- Android
- <Drawer LayoutAndroid>, Other Organizational Components
- <ToolbarAndroid>, Other Organizational Components, iOS- or Android-Only Components
- Android-only components, iOS- or Android-Only Components
- creating applications for, Creating Your First Application with create-react-native-app, Creating Your First Application with react-native
- debugging application problems, Common Android Problems
- (see also debugging and developer tools)
- deployment and release steps, Deploying Your Application-Release
- design guidelines, Other Organizational Components
- failure to boot virtual device, Common Android Problems
- human interface guidelines, When to Use Platform-Specific Components
- previewing your app on, Previewing Your App on iOS or Android
- react-native-video component, Exploring react-native-video for Java-Exploring react-native-video for Java
- rendering images on, The <Image> Component
- running apps on, Running Your App on Android
- running apps on simulators, Handling User Input, Summary, Testing Geolocation in Emulated Devices, Simulator Behavior
- View, Working with Views
- viewing logs, Debugging with console.log
- writing Java native modules for, Java Native Modules-Writing a Java Native Module for Android
- Android Studio, Running Your App on Android
- animations, Using the PanResponder Class
- applications, building
- applications, building larger
- applications, deploying, Deploying Your Application-Release
- assets
- AsyncStorage API, Storing Persistent Data with AsyncStorage, Persisting Data with AsyncStorage-Persisting Data with AsyncStorage
- attributions, Using Code Examples
- auto-updating, Release
B
- Babel compiler, Modern JavaScript Syntax
- background images, adding, Adding a Background Image, The <PhotoBackdrop> Component
- beta testing, Beta Test Your Application
- bridge interface, How Does React Native Work?, Host Platform APIs
- <Button> component, Creating Basic Interactions with <Button>, The <Button> Component, Reusable Components
C
- CameraRoll API
- Chrome Developer Tools, Activating the Developer Options, Debugging with console.log
- code examples, obtaining and using, Using Code Examples
- code signing, configuring, Running Your App on iOS
- components
- binding callbacks to, Handling User Input
- changing callbacks on, Fetching Data from the Web
- creating, Displaying Data, Using the <TouchableHighlight> Component-Using the <TouchableHighlight> Component
- creating component classes, Handling User Input
- for lists, Working with Lists-Working with <SectionList>
- for navigation, Navigation, Using React-Navigation-Implementing the Rest
- for organization, Other Organizational Components
- for touch and gestures, Working with Touch and Gestures-Choosing how to handle touch
- for views, Working with Views
- importing, Working with Views, Exploring the Sample Code
- installing third-party, Installing Third-Party Components with Native Code
- mobile- vs. web-based, Components for Mobile-The <Image> Component
- modifying with setNativeProps, Using the PanResponder Class
- platform-specific, Platform-Specific Code-When to Use Platform-Specific Components
- in React Native, Creating Components in React Native
- reusing, Reusable Components
- structuring, Working with Views, Project Structure
- styling, Styling Native Components, The <Text> Component
- console.error, Debugging with console.log
- console.log, Debugging with console.log-Debugging with console.log
- console.warn, Debugging with console.log
- Create React Native App command
- createViewInstance, Exploring react-native-video for Java
- CSS (Cascading Style Sheets), Styling Native Components, Declaring and Manipulating Styles
D
- data
- <DatePickerIOS>, Working with Views
- Debug Remote JS, Debugging with console.log
- debugging and developer tools
- Android problems, Common Android Problems
- console.log, Debugging with console.log-Debugging with console.log
- development environment issues, Common Development Environment Issues
- getting help, When You’re Stuck
- iOS device deployment issues, Issues Deploying to an iOS Device
- JavaScript debugging options, JavaScript Debugging Practices, Translated-Working with the React Developer Tools
- React Native debugging tools, React Native Debugging Tools-Interpreting the Red Screen of Death
- React Native packager, The React Native Packager
- simulator behavior, Simulator Behavior
- testing your code, Testing Your Code-Snapshot Testing with Jest
- Xcode problems, Common Xcode Problems
- dependencies, managing, Installing JavaScript Libraries with npm, Common Development Environment Issues-Common Android Problems
- deployment
- development environment
- <Drawer LayoutAndroid> component, Other Organizational Components
F
- fat-arrow syntax, Handling User Input, Using navigation.navigate to Transition Between Screens, Fat-Arrow Functions
- Fetch API, Fetching Data from the Web
- Flashcard application example
- <FlatList> component
- flexbox, Styling Native Components, Using Layouts with Flexbox-Using Absolute Positioning
- Flow, Type Checking with Flow
- fonts, default settings for, The <Text> Component, Styles
G
- Geofencing API, Working Around Limitations
- Geolocation API
- gestures (see touch and gestures)
- getting started (see applications, building)
I
- <Image> component, The <Image> Component-The <Image> Component
- images
- adding background, Adding a Background Image, The <Image> Component, The <PhotoBackdrop> Component
- including web-based sources, The <Image> Component
- interacting with CameraRoll API, Accessing the User’s Images and Camera
- rendering from CameraRoll, Rendering an Image from the Camera Roll
- requesting with getPhotoParams, Requesting Images with GetPhotoParams
- setting image paths, The <Image> Component
- sizing appropriately, Common Xcode Problems
- styling, The <Image> Component
- uploading to servers, Uploading an Image to a Server
- import statements, Exploring the Sample Code, Handling User Input, Writing an Objective-C Native Module for iOS
- in-app developer menu, Activating the Developer Options
- inline styles, Styling Native Components, The <Text> Component, Using Inline Styles
- inspect element tool, Using Inspect Element
- iOS
- <DatePickerIOS>, Working with Views
- <SegmentedControlIOS>, Other Organizational Components
- <TabBarIOS>, Other Organizational Components, iOS- or Android-Only Components
- creating applications for, Creating Your First Application with create-react-native-app, Creating Your First Application with react-native
- debugging application errors, Common Xcode Problems
- (see also debugging and developer tools)
- debugging deployment issues, Issues Deploying to an iOS Device
- deployment and release steps, Deploying Your Application-Release
- design guidelines, Other Organizational Components
- human interface guidelines, When to Use Platform-Specific Components
- iOS-only components, iOS- or Android-Only Components
- previewing your app on, Previewing Your App on iOS or Android
- react-native-video component for, Exploring react-native-video for iOS-Exploring react-native-video for iOS
- rendering images on, The <Image> Component
- running apps on, Running Your App on iOS
- running apps on simulators, Handling User Input, Summary, Testing Geolocation in Emulated Devices, Simulator Behavior
- UIView, Working with Views
- writing Objective-C modules for, Writing an Objective-C Native Module for iOS-Writing an Objective-C Native Module for iOS
J
- Java native modules, Java Native Modules-Writing a Java Native Module for Android
- JavaScript
- Babel compiler for, Modern JavaScript Syntax
- debugging practices in Native, JavaScript Debugging Practices, Translated-Working with the React Developer Tools
- default parameters, Default Parameters
- destructuring, Destructuring
- fat-arrow syntax, Fat-Arrow Functions
- function shorthand, Function Shorthand
- importing modules, Importing Modules
- installing JavaScript libraries, Installing JavaScript Libraries with npm
- let and const, let and const
- string interpolation, String Interpolation
- testing code, Testing Your Code
- working with Promises, Working with Promises-Working with Promises
- Jest
- JSX (JavaScript eXtension), Using JSX
M
- MDN Geolocation API web specification, Using Geolocation
- modules and native code
- benefits of modular approach, Declaring and Manipulating Styles
- cross-platform native modules, Cross-Platform Native Modules
- definition of native modules, Writing an Objective-C Native Module for iOS
- importing JavaScript, Importing Modules
- importing modules, Exploring the Sample Code
- installing JavaScript libraries, Installing JavaScript Libraries with npm
- installing third-party, Installing Third-Party Components with Native Code
- Java native modules, Java Native Modules-Exploring react-native-video for Java
- Objective-C modules, Objective-C Native Modules-Java Native Modules
- use cases for, Summary
- MP4 video assets, Installing Third-Party Components with Native Code
P
- package.json file, Installing JavaScript Libraries with npm
- packages, installing, Developer Setup: Create React Native App, Installing JavaScript Libraries with npm, Common Development Environment Issues
- PanResponder class, Using the PanResponder Class-Using the PanResponder Class
- persistent data, storing, Storing Persistent Data with AsyncStorage, State Management in Larger Applications, Persisting Data with AsyncStorage-Persisting Data with AsyncStorage
- Platform API, Using the Platform Module
- platform-specific code, Platform-Specific Code-When to Use Platform-Specific Components
- position property, Using Absolute Positioning
- positioning, absolute, Using Absolute Positioning-Putting It Together (see also layouts)
- post release application support, Release
- project structure, flashcard application, Project Structure
- Promises
R
- RCTBridgeModule
- RCTLogInfo, Writing an Objective-C Native Module for iOS
- RCTVideo, Exploring react-native-video for iOS
- RCTVideoManager, Exploring react-native-video for iOS
- RCT_EXPORT_METHOD macro, Writing an Objective-C Native Module for iOS
- RCT_EXPORT_MODULE() macro, Writing an Objective-C Native Module for iOS
- React Native
- advantages of, Advantages of React Native-Code Reuse and Knowledge Sharing
- basics of, What Is React Native?
- creating components in, Creating Components in React Native-Styling Native Components
- debugging packager issues, The React Native Packager
- debugging tools, Using Inspect Element-Interpreting the Red Screen of Death
- developer tools, Working with the React Developer Tools
- documentation, Developer Setup: The Traditional Approach
- drawbacks and risks of, Risks and Drawbacks
- JSX syntax used in, Using JSX
- platforms supported, What Is React Native?, How Does React Native Work?, Host Platform APIs
- prerequisites to learning, Prerequisites
- project structure, Exploring the Sample Code-Exploring the Sample Code
- rendering lifecycle, Rendering Lifecycle
- resources, Resources, When You’re Stuck
- traditional installation, Developer Setup: The Traditional Approach-Exploring the Sample Code
- React Navigation library, Using React-Navigation-Implementing the Rest
- react-native command
- react-native link, Installing Third-Party Components with Native Code
- react-native-video component
- react-native-web, Analogies Between HTML Elements and Native Components
- react-test-renderer package, Snapshot Testing with Jest
- ReactVideoViewManager, Exploring react-native-video for Java-Exploring react-native-video for Java
- Red Screen of Death, Interpreting the Red Screen of Death-Interpreting the Red Screen of Death
- Redux library
- render lifecycle, Rendering Lifecycle
- require call, Adding a Background Image
- resizeMode prop, The <Image> Component
- resources, Resources, When You’re Stuck
S
- <SectionList> component, Working with Lists, Working with <SectionList>-Working with <SectionList>
- <SegmentedControlIOS> component, Other Organizational Components
- setNativeProps, Using the PanResponder Class
- setVolume, Exploring react-native-video for Java
- SmarterWeather sample application, The SmarterWeather Application-The <PhotoBackdrop> Component
- snapshot testing, Snapshot Testing with Jest-Snapshot Testing with Jest
- source prop, Adding a Background Image, The <Image> Component
- StackNavigator, Creating a StackNavigator
- state management, using Redux library for, State Management in Larger Applications
- string interpolation, String Interpolation
- styles
- color values, Styles
- concatenating, Concatenating Styles
- declaring and manipulating, Declaring and Manipulating Styles-Concatenating Styles
- font sizes, Styles
- inline styles, Styling Native Components, The <Text> Component, Using Inline Styles
- organization and inheritance, Organization and Inheritance-Reusing and Sharing Styles
- passing as props, Passing Styles as Props
- positioning and designing layouts, Positioning and Designing Layouts-Putting It Together
- reusing and sharing, Styles, Reusing and Sharing Styles, Reusable Components
- style objects, Declaring and Manipulating Styles-Exporting Style Objects
- StyleSheet.create, Using StyleSheet.create
T
- <TabBarIOS> component, Other Organizational Components, iOS- or Android-Only Components
- testing
- text
- <Text> component, The <Text> Component-The <Text> Component
- <TextInput> component, Handling User Input, Fetching Data from the Web
- <ToolbarAndroid> component, Other Organizational Components, iOS- or Android-Only Components
- touch and gestures
- <TouchableHighlight> component, Using the <TouchableHighlight> Component-Using the <TouchableHighlight> Component
- type checking, Type Checking with Flow
- typographical conventions, Conventions Used in This Book
W
- weather app sample application
- adding background image to, Adding a Background Image, The <PhotoBackdrop> Component
- displaying data, Displaying Data-Displaying Data
- fetching data from the Web, Fetching Data from the Web-Fetching Data from the Web
- finished weather app, Building a Weather App, Putting It All Together-Putting It All Together
- handling user input, Handling User Input-Handling User Input
- platform APIs, Updating the Weather Application-Updating the Weather Application, The SmarterWeather Application-Summary
- replacing default code, Building a Weather App