Top
App Versioning in Self Hosting model
  • 05 Sep 2024
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

App Versioning in Self Hosting model

  • Dark
    Light
  • PDF

Article summary

By default, whenever a project is created for a particular app version, it is applicable only for that app version. The Whatfix cloud targets the in-app experience to the correct app version and shows them to your end users. With self-hosting, the Whatfix Mobile content is stored in your private server or cloud. There is no connection to the Whatfix cloud and hence the targeting does not happen in the cloud.
Therefore, in the self-hosting model, the app version targeting is done by the device, that is, the mobile phone. To target the in-app experience to the correct app version, you have to create a Custom Segment and then publish your content to that segment.

App versioning for self-hosted content involves two steps.

Step 1: Create a Custom Segment to target content to the particular App Version

  1. On the Whatfix Mobile Dashboard, select the app.
    dashboard_select_app

  2. In the navigation panel, click User Segments.
    mobile_click user segments

  3. Click + Create Segment.
    mobile_new segment

  4. Click Create user segment.
    mobile_click create user segment

  5. Enter a name for the User Segment.
    mobile_enter name

  6. Click Add Rules.
    mobile_user segment_add rules

  7. Click the default property App Version. The property is available as per your platform. Let's consider App Version iOS for this example.
    app_version_ios

your title goes here

The default property App Version is available only if Self Hosting is enabled for the account.

  1. To target the content to the relevant App version, select a condition and add the App Version as required.
    app_version_self_hosting_new
your title goes here

For Android, enter the app version code as the value. You can find the current app version code in the notification.
android_app_version_code

  1. Click Create Segment.
    mobile_create segment

Step 2: Create and publish the project

  1. On the Whatfix Mobile Dashboard, select the App in which you want to create a project.
    dashboard_select_app

  2. To create a new project, click New.
    new_project

  3. Based on your use case, select your Project Type. For this example, let's consider a Tooltip.
    select_project_type

  4. Enter a name for your project.
    project_name

  5. Select the App Version as ALL using the dropdown.
    app_version_all

your title goes here

Here's a GIF that shows you how to add the App Version as ALL for the first time.

  1. Create the in-app experience as required.

  2. Go to the top-right and then click Publish.
    publish_app_version

  3. Click Publish directly.
    studio_publish_directly

  4. In the TARGET tab, under the User segment section, choose the App Version segment you created.
    app_version_user_segment

  5. In the CONFIGURATION tab, select your Rollout and Priority.
    rollout_priority

  6. Click Go Live.
    dashboard_config_go_live


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.