React Native Sample Apps
You can use template apps with forcereact create
or forcereact createwithtemplate
to spawn Mobile SDK “starter” apps. Find these samples in the github.com/forcedotcom/SalesforceMobileSDK-Templates repo.
- Used by forcereact create
- ReactNativeTypeScriptTemplate: Standard React Native template, written in TypeScript. Default app type for the
forcereact create
command. Whenforcereact create
prompts for app type, pressReturn
or enterreact_native_typescript
. - ReactNativeTemplate: React Native template written in ES2015 (plain JavaScript.) When
forcereact create
prompts for app type, enterreact_native
.
- ReactNativeTypeScriptTemplate: Standard React Native template, written in TypeScript. Default app type for the
- For use with forcereact createwithtemplate
- ReactNativeDeferredTemplate: Demonstrates how to used deferred login in a React Native app. When
forcereact createwithtemplate
prompts for the repo URI, enterReactNativeDeferredTemplate
. - MobileSyncExplorerReactNative: Provides a comprehensive example of Mobile Sync usage. When
forcereact createwithtemplate
prompts for the repo URI, enterMobileSyncExplorerReactNative
.
- ReactNativeDeferredTemplate: Demonstrates how to used deferred login in a React Native app. When