Skip to content

Commit 1656e2a

Browse files
authored
Merge pull request #39 from zoyi/develop
0.4.5
2 parents 14eae28 + 08d90e2 commit 1656e2a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.4.5
2+
## Bug fixes
3+
* Hotfix
4+
15
# 0.4.4
26
## Bug fixes
37
* Hotfix

android/src/main/java/com/zoyi/channel/rn/RNChannelIO.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ public void handlePushNotification(ReadableMap userInfo, Promise promise) {
122122
Context context = reactContext.getApplicationContext();
123123
}
124124

125-
if (context != null) {
126-
ChannelIO.showPushNotification(context, ParseUtils.toPushNotification(userInfo));
125+
if (context != null) {
126+
ChannelIO.showPushNotification(context, ParseUtils.toPushNotification(userInfo));
127+
}
127128
}
128129

129130
promise.resolve(true);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-channel-plugin",
3-
"version": "0.4.4",
3+
"version": "0.4.5",
44
"description": "react native module for channel io",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)