Skip to content

Commit b693c76

Browse files
authored
Merge pull request #49 from channel-io/develop
0.5.3
2 parents cdb9ca0 + 69da963 commit b693c76

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# 0.5.3
2+
3+
## Bug Fixes
4+
5+
- iOS - Fixed an issue where onBadgeChanged was not called
6+
7+
# 0.5.1
8+
9+
## Update
10+
* Apply reaction
11+
* Apply files security
12+
13+
# 0.5.0
14+
## Updates
15+
* Renew apis - channeltalk plugin v8.0
16+
117
# 0.4.4 ~ 0.4.6
218
## Bug fixes
319
* Hotfix

ios/RNChannelIO.m

+5
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,11 @@ - (NSDictionary *)constantsToExport {
361361
}
362362

363363
#pragma mark ChannelPluginDelegate
364+
- (void)onBadgeChangedWithCount:(NSInteger)count {
365+
if (hasListeners) {
366+
[self sendEventWithName:EVENT_ON_BADGE_CHANGED body:@{KEY_COUNT: @(count)}];
367+
}
368+
}
364369

365370
- (void)onBadgeChangedWithAlert:(NSInteger)alert {
366371
if (hasListeners) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-channel-plugin",
3-
"version": "0.5.1",
3+
"version": "0.5.3",
44
"description": "react native module for channel io",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)