We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1977c48 commit b76942dCopy full SHA for b76942d
android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java
@@ -241,6 +241,9 @@ private void notificationChannel(Notification.Builder notification) {
241
}
242
243
private String extractMessage(String message, Ejson ejson) {
244
+ if (message == null) {
245
+ return "";
246
+ }
247
if (ejson != null && ejson.type != null && !ejson.type.equals("d")) {
248
int pos = message.indexOf(":");
249
int start = pos == -1 ? 0 : pos + 2;
0 commit comments