File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ const CleverTapAPI = CleverTapSdk.CleverTapAPI;
8
8
const HashMap = java . util . HashMap ;
9
9
const ArrayList = java . util . ArrayList ;
10
10
export class CleverTap extends Common implements CleverTapInterface {
11
-
11
+
12
12
profileGetProperty ( propertyName : string ) {
13
13
return this . instance . getProperty ( propertyName ) ;
14
14
}
15
-
15
+
16
16
public register ( ) {
17
17
CleverTapSdk . ActivityLifecycleCallback . register ( utils . ad . getApplication ( ) ) ;
18
18
}
Original file line number Diff line number Diff line change @@ -15,25 +15,25 @@ export class CleverTapImpl extends Common implements CleverTapInterface {
15
15
16
16
register ( ) {
17
17
throw new Error ( "Method not implemented." ) ;
18
- }
19
-
18
+ }
19
+
20
20
updateProfile ( profile : any ) {
21
21
CleverTap . sharedInstance ( ) . profilePush ( profile ) ;
22
22
}
23
23
24
24
pushEvent ( event : string , eventMeta : any ) {
25
25
CleverTap . sharedInstance ( ) . recordEventWithProps ( event , eventMeta ) ;
26
26
}
27
-
27
+
28
28
pushChargedEvent ( chargeDetails : any , items : any ) {
29
- throw new Error ( "Method not implemented." ) ;
29
+ CleverTap . sharedInstance ( ) . recordChargedEventWithDetailsAndItems ( chargeDetails , items ) ;
30
30
}
31
-
31
+
32
32
onUserLogin ( profile : any ) {
33
33
CleverTap . sharedInstance ( ) . onUserLogin ( profile ) ;
34
34
}
35
35
36
- profileGetProperty ( propertyName : string ) {
36
+ profileGetProperty ( propertyName : string ) {
37
37
return CleverTap . sharedInstance ( ) . profileGet ( propertyName ) ;
38
38
}
39
39
}
You can’t perform that action at this time.
0 commit comments