Book description
Leverage the full potential of the React Native framework to build and deploy your own native mobile applications for iOS and Android
About This Book
- 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
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.
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
In Detail
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.
Style and approach
Start building applications immediately using featured examples through an easy-to-follow approach. The book is based on three concrete projects with increasing levels of difficulty. Each chapter will introduce you to new and practical concepts and techniques, with the intent that you will be able to apply them in your own projects later.
Publisher resources
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
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …
video
Build a CI/CD Pipeline
Approximately 8 Hours of Video Instruction If your development team is still dealing with manual and …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for the latest version of React—React 18** React.js is the most …