From 4f35d82b6d524400ebecdab9b5c81f6b243fd7c0 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 21 Apr 2024 20:30:01 +0900 Subject: [PATCH] Populate FCM tokens if FCM v1 API is enabled --- common/framework/Push.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/framework/Push.php b/common/framework/Push.php index 4a5a15fda..f6577851c 100644 --- a/common/framework/Push.php +++ b/common/framework/Push.php @@ -433,7 +433,7 @@ class Push $args->member_srl = $this->getRecipients(); $args->device_token_type = []; $driver_types = config('push.types') ?: array(); - if(isset($driver_types['fcm'])) + if(isset($driver_types['fcm']) || isset($driver_types['fcmv1'])) { $args->device_token_type[] = 'fcm'; }