diff --git a/modules/react-native-status/android/src/main/java/im/status/ethereum/pushnotifications/PushNotificationHelper.java b/modules/react-native-status/android/src/main/java/im/status/ethereum/pushnotifications/PushNotificationHelper.java index 20aa356054..743a07fef1 100644 --- a/modules/react-native-status/android/src/main/java/im/status/ethereum/pushnotifications/PushNotificationHelper.java +++ b/modules/react-native-status/android/src/main/java/im/status/ethereum/pushnotifications/PushNotificationHelper.java @@ -106,7 +106,9 @@ public class PushNotificationHelper { //flags in this link: //https://stackoverflow.com/questions/52390129/android-intent-setflags-issue intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); - intent.setData(Uri.parse(deepLink)); + if (deepLink != null) { + intent.setData(Uri.parse(deepLink)); + } return intent; }