public class SalesforceReactSDKManager extends MobileSyncSDKManager
GLOBAL_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
SalesforceReactSDKManager(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
Protected constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAppType() |
protected java.util.Map<java.lang.String,DevActionHandler> |
getDevActions(Activity frontActivity) |
static SalesforceReactSDKManager |
getInstance()
Returns a singleton instance of this class.
|
ReactPackage |
getReactPackage()
Call this method when setting up ReactInstanceManager
|
static void |
initReactNative(Context context,
java.lang.Class<? extends Activity> mainActivity)
Initializes components required for this class
to properly function.
|
static void |
initReactNative(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
Initializes components required for this class
to properly function.
|
cleanUp, initNative, initNative, initNative, setupGlobalSyncsFromDefaultConfig, setupUserSyncsFromDefaultConfiggetDevSupportInfos, getGlobalKeyValueStore, getGlobalKeyValueStoresPrefixList, getGlobalSmartStore, getGlobalSmartStore, getGlobalStoresPrefixList, getKeyValueStore, getKeyValueStore, getKeyValueStore, getKeyValueStoresPrefixList, getKeyValueStoresPrefixList, getSmartStore, getSmartStore, getSmartStore, getSmartStore, getUserStoresPrefixList, getUserStoresPrefixList, hasGlobalKeyValueStore, hasGlobalSmartStore, hasKeyValueStore, hasKeyValueStore, hasKeyValueStore, hasSmartStore, hasSmartStore, hasSmartStore, hasSmartStore, removeAllGlobalKeyValueStores, removeAllGlobalStores, removeAllKeyValueStores, removeAllKeyValueStores, removeAllUserStores, removeAllUserStores, removeGlobalKeyValueStore, removeGlobalSmartStore, removeKeyValueStore, removeKeyValueStore, removeKeyValueStore, removeSmartStore, removeSmartStore, removeSmartStore, removeSmartStore, setupGlobalStoreFromDefaultConfig, setupUserStoreFromDefaultConfigprotected SalesforceReactSDKManager(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
context - Application context.mainActivity - Activity that should be launched after the login flow.loginActivity - Login activity.public static void initReactNative(Context context,
java.lang.Class<? extends Activity> mainActivity)
context - Application context.mainActivity - Activity that should be launched after the login flow.public static void initReactNative(Context context,
java.lang.Class<? extends Activity> mainActivity,
java.lang.Class<? extends Activity> loginActivity)
context - Application context.mainActivity - Activity that should be launched after the login flow.loginActivity - Login activity.public static SalesforceReactSDKManager getInstance()
public java.lang.String getAppType()
public ReactPackage getReactPackage()
protected java.util.Map<java.lang.String,DevActionHandler> getDevActions(Activity frontActivity)
getDevActions in class SmartStoreSDKManager