Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.appinion.pt/llms.txt

Use this file to discover all available pages before exploring further.

Integration

Using gradle.

SDK initialization

Implement the SDKManagerInterface
Appdelegate.swift
class YourClass : Fragment(), SDKManagerInterface

override fun authenticate(resp: Boolean) {
	// This method returns true if sdk is authenticated
}
Declare the SDKManager as soon as possible
public lateinit var sdkManager: SDKManager
Initialize the SDK as soon as possible on your App life cycle
activity?.let {
	this.sdkManager = SDKManager(this, it)
	this.sdkManager.authenticate(
	appID = "###APP_ID###",
	clientID = "###CLIENT_ID###",
	clientSecret = "###CLIENT_SECRET###"
}

Configure a stage

On the Viewcontroller you wish to call the proactive feedback prompt, first configure your stage.
The STAGE NAME must match the on you have created on the Appinion Dashboard.
Launch the Proactive feedback prompt with the configuration for this stage.
activity?.let {
	this.sdkManager.storeFeedbackConfiguration(###STAGE_NAME###)
}