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 createcommand. Whenforcereact createprompts for app type, pressReturnor enterreact_native_typescript. - ReactNativeTemplate: React Native template written in ES2015 (plain JavaScript.) When
forcereact createprompts 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 createwithtemplateprompts for the repo URI, enterReactNativeDeferredTemplate. - MobileSyncExplorerReactNative: Provides a comprehensive example of Mobile Sync usage. When
forcereact createwithtemplateprompts for the repo URI, enterMobileSyncExplorerReactNative.
- ReactNativeDeferredTemplate: Demonstrates how to used deferred login in a React Native app. When