-
Notifications
You must be signed in to change notification settings - Fork 0
Run Sample App
This SDK package includes a sample app that demonstrates all core features and provides a good starting point especially if you choose to render surveys using native interface
1. Open Android Studio, and select Import Project option.
2. In the Import Project dialog box, select the example folder in SDK package.
3. Open MainApplication.kt file, and update following TODO section.
// TODO: Please enter your Client ID and Client Secret keys
// Forsta Plus has a number of servers. Please check your server, and initialize configuration
// Example: UK Server
ConfirmitServer.configureUK("<Client ID>", "<Client Secret>")For more details about configuration, read Forsta Plus Server
4. Run application
SDK requires Cocoapod 1.10.0 or greater as dependency management tool
1. The sample app requires dependencies to run. In the terminal, navigate to the example folder in SDK package, and run command:
pod install
2. Open example/MyApp.xcworkspace
3. Open AppDelegate.swift file, and update following TODO section.
// TODO: Please enter your Client ID and Client Secret keys
// Forsta Plus has a number of servers. Please check your server, and initialize configuration
// Example: UK Server
ConfirmitServer.configureUK(clientId: "<Client ID>", clientSecret: "<Client Secret>")For more details about configuration, read Forsta Plus Server
4. Run application
For React Native sample app, read Run React Native App
Copyright © 2026 Forsta. All rights reserved.
- Initializing the SDK
- Download a Program
- Sending App Events
- Sending Journey Log
- Survey Triggering
- Displaying a Survey
- Forsta Plus Server
- Program Lifecycle Monitoring
- Starting and Updating a Program
- Advanced Trigger Control