website logo
HomeGo to Dashboard
User Guide
How-To Videos
Developers
Navigate through spaces
⌘K
Getting Started
Introduction
Compatibility
Terminology
SDK Installation
Shopify
Any Website
Dukaan
Angular 2+
WooCommerce
WordPress
Android Native
iOS Native
Flutter
Cordova
Ionic
React Native
Data Integration
Data Models
Mandatory Events
Mandatory Properties
Call to Action
System Events
Device Properties
Docs powered by archbee 

General Apps

7min

Applications can expect the following key value as a callback of CTAs

Go To Screen

When the user needs to be taken to a particular screen/tab of the app.

Properties

Key

Value

Description

actionType

GO_TO_SCREEN

Type of action to be performed.

screenName

String value

Name of the screen on which user should land.

Code Example

JS
TS
Java
Kotlin
ObjectiveC
Swift
Dart
|
function onCooeeCTAListener(payload) {
    if (!payload) {
        return;
    }

    if (payload.get("actionType") == "GO_TO_SCREEN") {
        const screenName =  payload.get("screenName");
        // Navigate to given screen
    }
}


Share App

When we want user to share the app by opening the share dialog with link to Google Play or App Store

Properties

Key

Value

Description

actionType

SHARE_APP

Type of action to be performed.

Code Example

JS
TS
Java
Kotlin
ObjectiveC
Swift
Dart
|
function onCooeeCTAListener(payload) {
    if (!payload) {
        return;
    }

    if (payload.get("actionType") == "SHARE_APP") {
        // Open share dialog with application link
    }
}




Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
Call to Action
NEXT
Educational Apps
Docs powered by archbee 
TABLE OF CONTENTS
Go To Screen
Properties
Code Example
Share App
Properties
Code Example