Tapslash

The Tapslash Developer Hub

Welcome to the Tapslash developer hub. Here you'll find comprehensive guides and documentation to help you start working with the SDK(s) as quickly as possible, as well as support if you get stuck slong the way. Let's jump right in!

Get Started    

Sync with Dashboard

One of the advantages of using the Tapslash SDK is being able to configure which services your users will see by simply updating the dashboard for your app.

To make sure the services on your toolbar are always in sync with the dashboard, you will need to call the sync function. We recommend adding this in the same place that you initialize Tapslash, so that your services sync every time a user launches the app.

func application(application: UIApplication, didFinishLaunchingWithOptions 
  launchOptions: [NSObject: AnyObject]?) -> Bool {

    // Setup Tapslash SDK
    Slash.sharedInstance(
        apiKey: {API_KEY},
        secretKey: {SECRET_KEY}
        language: nil
    )
    Slash.shared.sync()

    return true
}

Precache

Important: Prior to publishing your app, run the python script precache.py in your project's root directory to fetch resources for the services on your dashboard. This way, your users will see the toolbar immediately upon launch without needing a network connection.

$ python precache.py {API_KEY}

Please make sure to test before going to production.

  • Turn off the WiFi or cellular data
  • Delete and reinstall the app (or clear data)
  • Run the app and verify that the toolbar loads immediately and shows the service icons in the same order as the dashboard

Sync with Dashboard