This React Native app shows you how easy it is to use the Salesforce User Interface API to create, read, update, and delete Salesforce records.
Salesforce uses User Interface API to build the Salesforce1 and Lightning Experience apps. Not only do you get data and metadata in a single response, but the response matches metadata changes made to the org by Salesforce admins. You don’t have to worry about layouts, picklists, field-level security, or sharing—all you have to do is build an app that users love.
The Record Viewer app gets and sets data from a Salesforce organization.
To authenticate Record Viewer with a Salesforce org:
In the Salesforce org, configure a connected app.
https://
.api
or full
. Clone the RecordViewerNative repository.
In the Config.js file:
oauthRedirect
to the callback URL in the connected app. consumerKey
to the OAuth consumer key in the connected app.react-native
, watchman
, and XCode
.npm install
.react-native run-ios
. (The Android build might work, but we haven't tested it.)