Book description
Leverage the full potential of the React Native framework to build and deploy your own native mobile applications for iOS and Android
Key Features
- [*] Work on native APIs and UI Elements using React Native
- [*] Get the best of both worlds: the power of native approach and the fluidity of JavaScript
- [*] Create increasingly complex real-world applications and dive deeper into React Native
Book Description
React Native's ability to build performant mobile applications with JavaScript has resulted in its popularity amongst developers. Developers now have the luxury to create incredible mobile experiences that look and feel native to their platforms with the comfort of a well-known language and the popular React.js library.
This book will show you how to build your own native mobile applications for the iOS and Android platforms while leveraging the finesse and simplicity of JavaScript and React.
Throughout the book you will build three projects, each of increasing complexity. You will also link up with the third-party Facebook SDK, convert an app to support the Redux architecture, and learn the process involved in making your apps available for sale on the iOS App Store and Google Play.
At the end of this book, you will have learned and implemented a wide breadth of core APIs and components found in the React Native framework that are necessary in creating great mobile experiences.
What you will learn
- [*] How to create mobile-performant iOS and Android apps using JavaScript and React
- [*] The potential of each API and component, putting them into practice throughout the course of three projects
- [*] The process of integrating the Facebook SDK to build an app that connects to third-party data
- [*] Every step taken to implement Redux, a popular state management library, in your mobile apps
- [*] The requirements for building and deploying your apps to market, with detailed instructions on how to release and beta test apps on both the Apple App Store and Google Play
Who this book is for
If you are keen on learning to use the revolutionary mobile development tool React Native to build native mobile applications, then this book is for you. Prior experience with JavaScript would be useful.
Table of contents
- Preface
-
First Project - Creating a Basic To-Do List App
- Initializing a new project
- Feature planning
- Project architecture
- StyleSheet
- Flexbox
- Writing in ES6
- Building the app
- ListView
- Creating the TasksList component
- Linking TasksList to index
- The iOS Simulator Developer menu
- TextInput
- AsyncStorage
- Custom RenderRow component
- Prop validation in React
- Moving beyond MVP
- Summary
- Advanced Functionality and Styling the To-Do List App
- Our Second Project - The Budgeting App
- Advanced Functionality with the Expenses App
- Third Project - The Facebook Client
- Advanced Facebook App Functionality
-
Redux
- Introducing Redux
- Planning the Redux conversion
- Creating the entry point
-
Converting EditTasks to Redux
- Adding actions for EditTask
- Reducers for EditTask
- Updating TasksListContainer to accommodate EditTask
- Updating the TasksList component
- Creating the EditTask container
- Modifying the EditTask component for iOS
- Modifying the EditTask component for Android
- Creating a StorageMethods file for asynchronous saving
- Subscribing the store to changes
- Creating a thunk
- Modifying our reducers
- Updating the TasksListContainer
- Modifying the TasksList component
- Summary
-
Deploying Your Applications
- Basic requirements
- Creating developer memberships
-
Making your app look great
- Creating an icon
- Taking app screenshots
- Writing a description
- Combining it all
- Apple App Store
- Modifying the Bundle ID in Xcode
- Adding app icons in Xcode
- Creating an archive
- iTunes Connect
- Validating our app in Xcode
- Submitting our app for review
- Google Play Store
- Adding an app icon for Android
- Creating a unique package identifier
- Generating a Signed APK file
- Submitting to Google Play
- Summary
-
Additional React Native Components
- Setting up a boilerplate project
- Making Fetch happen
- Vibration
- Using ActionSheetIOS
- Grabbing user geolocation data
- Expenses for Android
-
Android modifications
- Installing the vector icon library
- ToolbarAndroid
- DrawerLayoutAndroid
- Connecting ToolbarAndroid and DrawerLayoutAndroid
- Android-specific app component
- EnterBudget styling changes
- CurrentMonthExpenses for Android
- Removing ExpandableCell from AddExpensesModal
- Modifying Navigation for PreviousMonthsList
- Summary
Product information
- Title: React Native By Example
- Author(s):
- Release date: April 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786464750
You might also like
book
React and React Native
Use React and React Native to build applications for desktop browsers, mobile browsers, and even as …
book
React: Cross-Platform Application Development with React Native
Harness the power of React Native to build 4 real-world apps About This Book Build quirky …
book
Mastering React Native
Leverage frontend development skills to build impressive iOS and Android applications with React Native About This …
video
React Native Projects
Understanding essential React Native concepts and how it differs from React, can be difficult to translate …