iOS Demo App

Pulse Insights iOS SDK Demo app

This demo application showcases the integration and usage of the PulseInsights SDK for iOS. It demonstrates various features including survey triggering, context data management, and client key configuration.

Getting Started

Prerequisites

Xcode 14.0+ iOS 13.0+ Swift 5.0+

Installation

  1. Clone this repository

  2. Open the project in Xcode

  3. Build and run the application on your device or simulator

Usage

Step 1: Obtain an Account ID

First, you need to obtain an Account ID from the Pulse Insights Console:

  1. Log in to your Pulse Insights Console

  2. Navigate to Account Settings

  3. Copy your Account ID

Step 2: Initialize the SDK

In AppDelegate.swift, initialize the PulseInsights SDK with your Account ID:

Step 3: Trigger Surveys

To trigger surveys in your application:

Step 4: Set Client Key (Optional)

If you need to set a client key for specific surveys:

Step 5: Manage Context Data (Optional)

You can add context data to provide additional information for survey targeting:

Features Demonstrated in the App

  • Survey triggering in different views

  • Inline surveys

  • Context data management

  • Client key configuration

  • Survey response checking

  • Device ID reset

Documentation

For more detailed information about the PulseInsights SDK, please refer to the official documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Was this helpful?