Skip to content

Commit 790ff66

Browse files
committed
build: 0.1.16
1 parent c229783 commit 790ff66

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pam-react-native",
3-
"version": "0.1.15",
3+
"version": "0.1.16",
44
"description": "Pam SDK for React Native",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export class Pam {
163163
title,
164164
description,
165165
banner,
166+
banner,
166167
flex,
167168
url,
168169
popupType,

src/interface/pam_push_message.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ export class PamPushMessage {
1010
isOpen?: boolean;
1111
date?: Date;
1212
data?: Record<string, any>;
13+
bannerUrl?: string;
1314

1415
constructor(
1516
deliverID: string,
1617
pixel: string,
1718
title: string,
1819
description: string,
1920
thumbnailUrl: string,
21+
bannerUrl: string,
2022
flex: string,
2123
url: string,
2224
popupType: string,
@@ -29,6 +31,7 @@ export class PamPushMessage {
2931
this.title = title;
3032
this.description = description;
3133
this.thumbnailUrl = thumbnailUrl;
34+
this.bannerUrl = bannerUrl;
3235
this.flex = flex;
3336
this.url = url;
3437
this.popupType = popupType;
@@ -73,6 +76,7 @@ export class PamPushMessage {
7376
data.title,
7477
data.description,
7578
data.thumbnail_url,
79+
data.banner_url,
7680
data.flex,
7781
data.url,
7882
payload.popupType,

0 commit comments

Comments
 (0)