SDK Installation
Cordova

Get Started

6min

The Cooee's Cordova plugin for customer engagement gives your team the power to easily integrate it in your Cordova (with Ionic) application. Follow these simple steps:

Add Plugin

Install the plugin using the popular single commands in the Terminal/PowerShell:

Cordova
Ionic


Cordova/Ionic will automatically pull the latest version of the plugin.

Document image


Replace MY_COOEE_APP_ID with the App ID which is present at Cooee Portal.

Notification Service Configuration (Only for iOS)

Plugin adds CooeeNotificationServiceExtension as a new target in the iOS platform. Just add build number and build version in the new target. Refer to the below image as a reference.

Document image


Permission Usage

Cooee uses few permissions if granted (we do not ask explicitly).

Android (Optional)

Cooee SDK supports prompting the following permissions via engagement. To make it work, you need to add the following in app's config.xml under <platforms name="android"> file:

XML


iOS (Required)

Apple requires a user-friendly description of such permissions as defined here. Add below code in your config.xml under <platforms name="ios">.

XML


Android Configuration

The minimum supported android version for Cooee is API 21. Cooee SDK also supports Augmented Reality(AR). This requires a small configuration mentioned below in your config.xml under <platforms name="android">

XML




Updated 25 Mar 2024
Did this page help you?