The MAB is currently available in two flavors, Cordova and Objective-C. We chose Cordova due to its popularity, the lower entry barrier for customers, and its cross-platform development capabilities from one set of HTML/CSS/JS.
If you’re new to mobile development, you will likely start with the Cordova version. The Objective-C version is geared toward existing iOS developers.
Both flavors leverage a separate Connected Clients module that keeps users signed in to Tableau using long-lived tokens, so they don’t have to re-enter credentials between sessions. Currently, this module is only available on iOS; however, we’d like to have an Android version in the future. (Psst, are you interested in taking on this challenge and submitting a pull-request to the project?)
Check out our GitHub projects for detailed instructions on setting up the development environment, installing the requisite tools, and compiling and running the code. Compiling the supplied app and running it in the simulator will produce an app that looks like this:
Notice how the app has its own branding, a custom landing page with links to other places, and three buttons along the bottom to get to Tableau dashboards. Tapping a button will open the appropriate dashboard. Since all the code is provided, everything is customizable, enabling to put anything you want in there. Here’s an example of one way to customize it:
Alternatively, instead of starting with and customizing the existing sample, you can mix and match the parts you want, such as the Connected Clients module or the sample embed code, and plug it in your existing app.