File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " pam-react-native" ,
3
- "version" : " 0.1.15 " ,
3
+ "version" : " 0.1.16 " ,
4
4
"description" : " Pam SDK for React Native" ,
5
5
"source" : " ./src/index.tsx" ,
6
6
"main" : " ./lib/commonjs/index.js" ,
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ export class Pam {
163
163
title ,
164
164
description ,
165
165
banner ,
166
+ banner ,
166
167
flex ,
167
168
url ,
168
169
popupType ,
Original file line number Diff line number Diff line change @@ -10,13 +10,15 @@ export class PamPushMessage {
10
10
isOpen ?: boolean ;
11
11
date ?: Date ;
12
12
data ?: Record < string , any > ;
13
+ bannerUrl ?: string ;
13
14
14
15
constructor (
15
16
deliverID : string ,
16
17
pixel : string ,
17
18
title : string ,
18
19
description : string ,
19
20
thumbnailUrl : string ,
21
+ bannerUrl : string ,
20
22
flex : string ,
21
23
url : string ,
22
24
popupType : string ,
@@ -29,6 +31,7 @@ export class PamPushMessage {
29
31
this . title = title ;
30
32
this . description = description ;
31
33
this . thumbnailUrl = thumbnailUrl ;
34
+ this . bannerUrl = bannerUrl ;
32
35
this . flex = flex ;
33
36
this . url = url ;
34
37
this . popupType = popupType ;
@@ -73,6 +76,7 @@ export class PamPushMessage {
73
76
data . title ,
74
77
data . description ,
75
78
data . thumbnail_url ,
79
+ data . banner_url ,
76
80
data . flex ,
77
81
data . url ,
78
82
payload . popupType ,
You can’t perform that action at this time.
0 commit comments