Get Started with React Native
After completing this unit, you’ll be able to:
- Understand what React Native is.
- Understand how React Native supports popular programming languages.
- Install required software for Mobile SDK with React Native.
What Is React Native?
The standard React Native languages come with a few benign asterisks:
A popular reason for using React Native is that you don’t have to recompile your apps with Xcode or Gradle to test changes. Once you’ve got the app running on a real or virtual device, you just edit and save the code, and then refresh your emulator or simulator to see your changes.
Although the underlying Facebook framework remains in pre-release mode, Mobile SDK treats React Native as a full SDK citizen. You can build React Native apps with our command line tools and use Mobile SDK components such as authentication, SmartStore, and Mobile Sync to create full-fledged Mobile SDK apps.
Creating a Connected App
To connect to the Salesforce service, every mobile app requires a Salesforce connected app. A connected app authorizes your app to communicate with Salesforce and securely access Salesforce APIs.
- Copy the Callback URL and Consumer Key values. You use these values to set up authentication in your app.
- Mobile SDK apps do not use the consumer secret, so you can ignore this value.