Skip to content

Commit

Permalink
Release v6.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neerhaj committed Jan 9, 2023
1 parent 334faaa commit 9f21de8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -text
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sample
2 changes: 1 addition & 1 deletion PushIOManager/PushIOManager.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pod::Spec.new do |s|
s.version = "6.51.0"
s.version = "6.53.0"
s.name = "PushIOManager"
s.summary = "Responsys iOS SDK"
s.documentation_url = ""
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,21 @@ These below steps are required for iOS In-App Messages.
### Message Center

- Get the Message Center messages list using,
```
Each Message Center message now supports an additional property called custom key-value pairs, it is a variable sized object with key value pairs and can be accessed like any other property of that message.
```

```javascript
PushIOManager.fetchMessagesForMessageCenter(messageCenterName, (error, response) => {
if(error == null) {
for(message of response.messages){
console.log(message.messageID)
console.log(message.message)
console.log(message.customKeyValuePairs)
}
}

});
```
Expand Down
2 changes: 1 addition & 1 deletion framework/PushIOManager.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pod::Spec.new do |s|
s.version = "6.51.0"
s.version = "6.53.0"
s.name = "PushIOManager"
s.summary = "Responsys iOS SDK"
s.documentation_url = ""
Expand Down
1 change: 1 addition & 0 deletions ios/NSArray+PIOConvert.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ - (NSArray *)messageDictionary {
dictionary[@"richMessageURL"] = message.richMessageURL;
dictionary[@"sentTimestamp"] = [self dateToString:message.sentTimestamp];
dictionary[@"expiryTimestamp"] = [self dateToString:message.expiryTimestamp];
dictionary[@"customKeyValuePairs"] = message.customKeyValuePairs;

[messages addObject:dictionary];
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oracle/react-native-pushiomanager",
"version": "6.52.2",
"version": "6.53.0",
"description": "React Native Module for Responsys Mobile SDK",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 9f21de8

Please sign in to comment.