SDK Installation
Ionic

Get Started

7min

This plugin gives your team the power to easily integrate it into your Ionic application. Follow these simple steps:

Installation

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

Cordova


This 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)

This plugin adds CooeeNotificationServiceExtension as a new target in the iOS platform. Just add build number and build version in the new target. See the below image for reference.

Document image


Permission Usage

Cooee uses a few permissions, if granted (we do not ask explicitly), to better understand your customer to engage them as per their needs.

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. This requires a small configuration mentioned below in your config.xml under <platforms name="android">

XML


Grab Reference

TypeScript




Updated 25 Mar 2024
Did this page help you?