File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
src/@awesome-cordova-plugins/plugins/lets-cooee Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Ionic Plugin for Cooee SDK
2
+
3
+ ## What is Cooee?
4
+
5
+ Let’s Cooee powers hyper-personalized and real time engagements for mobile apps based on machine learning. The SaaS platform, hosted on
6
+ cloud infrastructure processes millions of user transactions and data attributes to create unique and contextual user engagement
7
+ triggers for end users with simple SDK integration that requires no coding at mobile app level.
8
+
9
+ For more information visit our [ website] ( https://www.letscooee.com/ ) and [ documentation] ( https://docs.letscooee.com/developers/cordova/quickstart ) .
10
+
11
+ ## Features
12
+
13
+ 1 . Plug and Play - Plugin is plug and play for mobile applications. That means it needs to be initialized with the Application Context, and it
14
+ will work automatically in the background.
15
+ 2 . Independent of Application - Plugin is independent of the application. It will collect data points with zero interference from/to the
16
+ applications. Although applications can send additional data points (if required) to the Plugin using API’s.
17
+ 3 . Rendering engagement triggers - Plugin will render the campaign trigger at real-time with the help of server http calls.
18
+
19
+ ## Platforms
20
+
21
+ - Android (Minimum Android 5.0 / API level 21)
22
+ - iOS (Minimum deployment target iOS 13)
23
+
24
+ ## Installation
25
+
26
+ ```
27
+ $ ionic cordova plugin add @letscooee/cordova-plugin --variable COOEE_APP_ID="MY_COOEE_APP_ID"
28
+ $ npm install @awesome-cordova-plugins/lets-cooee
29
+ ```
30
+ Replace ` MY_COOEE_APP_ID ` with the ` App ID ` which is present at [ Cooee Portal] ( https://dashboard.letscooee.com/app/details ) .
31
+
32
+ ## Usage Documentation
33
+
34
+ For detailed installation & uses, Refer [ Cordova] ( https://docs.letscooee.com/developers/cordova/quickstart ) documentation.
35
+
36
+ Plugin Repo: [ https://github.com/letscooee/cordova-plugin-cooee ] ( https://github.com/letscooee/cordova-plugin-cooee )
37
+
38
+ Requires Cordova plugin: ` @letscooee/cordova-plugin ` [ ![ npm] ( https://img.shields.io/npm/v/@letscooee/cordova-plugin )] ( https://www.npmjs.com/package/@letscooee/cordova-plugin ) .
Original file line number Diff line number Diff line change 1
1
import { Injectable } from '@angular/core' ;
2
2
import { Plugin , Cordova , AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core' ;
3
+ import { Observable } from 'rxjs' ;
3
4
4
5
/**
5
6
* @name Lets Cooee
@@ -72,4 +73,17 @@ export class Cooee extends AwesomeCordovaNativePlugin {
72
73
getUserID ( ) : Promise < any > {
73
74
return ;
74
75
}
76
+
77
+ /**
78
+ * Provides callback for the onCooeeCTAListener event.
79
+ * @return {Observable<Any> } Returns an observable record.
80
+ */
81
+ @Cordova ( {
82
+ eventObservable : true ,
83
+ event : 'onCooeeCTAListener' ,
84
+ element : document ,
85
+ } )
86
+ addCooeeCTAListener ( ) : Observable < any > {
87
+ return ;
88
+ }
75
89
}
You can’t perform that action at this time.
0 commit comments