- 05 Sep 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
App Versioning in Self Hosting model
- Updated On 05 Sep 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
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
- Step 2: Create and publish the project
Step 1: Create a Custom Segment to target content to the particular App Version
-
On the Whatfix Mobile Dashboard, select the app.
-
In the navigation panel, click User Segments.
-
Click + Create Segment.
-
Click Create user segment.
-
Enter a name for the User Segment.
-
Click Add Rules.
-
Click the default property App Version. The property is available as per your platform. Let's consider App Version iOS for this example.
The default property App Version is available only if Self Hosting is enabled for the account.
- To target the content to the relevant App version, select a condition and add the App Version as required.
For Android, enter the app version code as the value. You can find the current app version code in the notification.
- Click Create Segment.
Step 2: Create and publish the project
-
On the Whatfix Mobile Dashboard, select the App in which you want to create a project.
-
To create a new project, click New.
-
Based on your use case, select your Project Type. For this example, let's consider a Tooltip.
-
Enter a name for your project.
-
Select the App Version as ALL using the dropdown.
Here's a GIF that shows you how to add the App Version as ALL for the first time.
-
Create the in-app experience as required.
-
Go to the top-right and then click Publish.
-
Click Publish directly.
-
In the TARGET tab, under the User segment section, choose the App Version segment you created.
-
In the CONFIGURATION tab, select your Rollout and Priority.
-
Click Go Live.