Skip to content

Commit cd5c444

Browse files
authored
Update JPushModule.java
1 parent dcd6302 commit cd5c444

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/cn/jpush/reactnativejpush/JPushModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ private static void sendEvent() {
162162
case RECEIVE_CUSTOM_MESSAGE:
163163
WritableMap map = Arguments.createMap();
164164
map.putInt("id", mCachedBundle.getInt(JPushInterface.EXTRA_NOTIFICATION_ID));
165+
map.putString("message", mCachedBundle.getString(JPushInterface.EXTRA_MESSAGE));
165166
map.putString("content", mCachedBundle.getString(JPushInterface.EXTRA_MESSAGE));
166167
map.putString("content_type", mCachedBundle.getString(JPushInterface.EXTRA_CONTENT_TYPE));
167168
map.putString("title", mCachedBundle.getString(JPushInterface.EXTRA_TITLE));

0 commit comments

Comments
 (0)