File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/android/com/adobe/phonegap/push Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ class FCMService : FirebaseMessagingService() {
471471 this ,
472472 requestCode,
473473 dismissedNotificationIntent,
474- PendingIntent .FLAG_CANCEL_CURRENT
474+ PendingIntent .FLAG_MUTABLE or PendingIntent . FLAG_CANCEL_CURRENT
475475 )
476476
477477 val mBuilder: NotificationCompat .Builder =
@@ -699,7 +699,7 @@ class FCMService : FirebaseMessagingService() {
699699 this ,
700700 uniquePendingIntentRequestCode,
701701 intent,
702- PendingIntent .FLAG_ONE_SHOT
702+ PendingIntent .FLAG_MUTABLE or PendingIntent . FLAG_ONE_SHOT
703703 )
704704 }
705705 }
@@ -720,7 +720,7 @@ class FCMService : FirebaseMessagingService() {
720720 pIntent = PendingIntent .getBroadcast(
721721 this , uniquePendingIntentRequestCode,
722722 intent,
723- PendingIntent .FLAG_UPDATE_CURRENT
723+ PendingIntent .FLAG_MUTABLE or PendingIntent . FLAG_UPDATE_CURRENT
724724 )
725725 }
726726 }
You can’t perform that action at this time.
0 commit comments