Hybrid APIs
Hybrid apps can enable multi-user support through Mobile SDK JavaScript APIs. These APIs reside in the SFAccountManagerPlugin Cordova-based
module.
SFAccountManagerPlugin Methods
Before you call any of these methods, you need to load the sfaccountmanager plug-in. For example:
1cordova.require("com.salesforce.plugin.sfaccountmanager").logout();
Hybrid apps don’t need to implement a receiver for the multi-user switching
broadcast event. This handler is implemented by the SalesforceDroidGapActivity class.