You can personalize the presentation to the current user by retrieving the User from the app.

let user;

mobilelocker.getUser()
.then(mobilelockerUser => {
  user = mobilelockerUser;
})
.catch(err => {
  if (err.response) {
    console.error('There was an error': err.response.data);
  } else {
    console.error('There was an error');
  }
})

The JSON response looks like this:

{
    "name": "Mark Stralka",
    "last_name": "Stralka",
    "email": "[email protected]",
    "id": 3,
    "first_name": "Mark",
    "timezone": "America/New_York",
    "teams": [
        {
            "id": 1,
            "name": "Demo Team",
            "theme": {
                "header_bg": "#00A9CC",
                "table_tint": "#00334D",
                "footer_bg": "#00A9CC",
                "footer_tint": "#FFFFFF",
                "label_tint": "#FFFFFF",
                "table_divider": "#00334D",
                "header_tint": "#FFFFFF",
                "section_bg": "#EEEEEE",
                "table_bg": "#FFFFFF",
                "section_tint": "#00334D",
                "label_bg": "#00A9CC"
            }
        }
    ],
    "current_team_id": 1,
    "country": "US"
}

The Kazaamax Starter presentation demonstrates this functionality:

740