Skip to content

07) Mobile Solutions

Coding With The Force edited this page Jun 14, 2023 · 4 revisions

Mobile Solution Strategies

There are only 4 mobile solution strategies that you need to consider on the exam and they are:

  1. Salesforce Mobile App (and/or Mobile Publisher)
  2. Native App (Apps Build for iOS or Android specifically in Swift or Kotlin)
  3. Hybrid Apps (Apps build use JS frameworks, phonegap, etc)
  4. HTML5 Apps (Web based apps framed into your phone via an app basically)

Preventing user Logins

In many scenarios there is the mention of making sure that your mobile users don't have to login more than once. There a few things that will make this possible listed below:

  1. Whether it's a custom app, Salesforce Mobile, or Mobile Publisher, you can always prevent this by setting up the connected app in Salesforce to use a refresh token. Then will allow your mobile app too leverage a "remember me" feature and use the refresh token to login when a session token expires, instead of asking users to login with a username and password.

  2. You can supplement this by enabling the session setting "Enable caching and autocomplete on login page" which will save a users username in the username box if they select the "remember me" checkbox on the app when logging in. That way if you set your refresh tokens to expire, they will only need to enter their password.

NOTE: While Biometric scanning is available via your mobile apps, you cannot actually use biometric scanning (facial recognition for instance) to login to Salesforce via your mobile apps, just to provide extra security when accessing the Salesforce Mobile App. (You can read the rather confusing documentation here)

Clone this wiki locally