Skip to content

Commit c82cb08

Browse files
committed
use a blank intent
1 parent b1d56f8 commit c82cb08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ public void sendToNotificationCentreWithPicture(Bundle bundle, Bitmap largeIconB
499499
notification.setContentIntent(pendingIntent);
500500

501501
if (bundle.getBoolean("fullScreenIntent")) {
502+
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);
502503
notification.setFullScreenIntent(pendingIntent, true);
503504
}
504505
if (bundle.getString("categoryAndroid") != null) {

0 commit comments

Comments
 (0)