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. When forcereact create prompts for app type, press Return or enter react_native_typescript.
  • ReactNativeTemplate: React Native template written in ES2015 (plain JavaScript.) When forcereact create prompts for app type, enter react_native.
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, enter ReactNativeDeferredTemplate.
  • MobileSyncExplorerReactNative: Provides a comprehensive example of Mobile Sync usage. When forcereact createwithtemplate prompts for the repo URI, enter MobileSyncExplorerReactNative.

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.