website logo
HomeGo to Dashboard
User Guide
How-To Videos
Developers
Navigate through spaces
User Guide
How-To Videos
Developers
⌘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 
16min

Get Started

The Cooee's React Native plugin for customer engagement gives your team the power to easily integrate it into your CReact Native application. Follow these simple steps:

Add Plugin

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

YARN
NPM
|

NPM/YARN will automatically pull the latest version of the plugin.

Document image

Static Libray compatibility (iOS only) (Required)

If your react native iOS application uses the Flipper library, these steps are for you.

This plugin depends on CooeeSDK which is a framework. To make it compatible with the iOS static library, you need to follow the below steps:

Add below line to Podfile present in ios/ folder

Podfile
|

Append the following pre_install script in Podfile present at ios/ folder.

Podfile
|

Configure Credentials

Android

Add the following in AndroidManifest.xml inside the application tag:

XML
|

iOS

Add the following snippet in the app level Info.plist:

Plist
|

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

Permission Usage

Android (Optional)

Cooee SDK supports prompting the following permissions via engagement. To make it work, you need to add the following to the app's AndroidManifest.xml file present in android/app/src/main/ folder.

XML
|

iOS (Required)

Cooee SDK uses a few permission if granted (we do not ask explicitly) for analysing the user. This helps us to create and deliver better notifications and in-apps. Apple requires a user-friendly description of such permissions as defined here.

Add the following permission description to App's Info.plist file present at ios/APPLICATION_NAME/ folder.

Plist
|

Configure Native code

Android

Open your MainApplication class present in android/app/src/main/java/your_package_name/ and extend it with CooeePlugin class.

Java
Kotlin
|

iOS

Open your AppDelegate file from ios/app_name/ and add following snippet:

ObjectiveC
Swift
|

Grab a Reference

TypeScript
|
Updated 10 Aug 2022
Did this page help you?
Yes
No
UP NEXT
Tracking Events
Docs powered by archbee 
TABLE OF CONTENTS
Add Plugin
Static Libray compatibility (iOS only) (Required)
Configure Credentials
Android
iOS
Permission Usage
Android (Optional)
iOS (Required)
Configure Native code
Android
iOS
Grab a Reference