From ce96a1ed2de409ea45e4269ca3c40d0b8ce8073b Mon Sep 17 00:00:00 2001 From: "Julien C." Date: Mon, 14 Oct 2024 16:04:57 +0200 Subject: [PATCH] add platform configuration --- core/api/mobile.api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/api/mobile.api.php b/core/api/mobile.api.php index ee9cee58..b6dd3afc 100755 --- a/core/api/mobile.api.php +++ b/core/api/mobile.api.php @@ -134,6 +134,7 @@ function saveMenuFromAppV2($menu, $mobile) { if (!is_object($mobile)) { $mobile = createMobile($params, 3); } + $mobile->setConfiguration('type_mobile', $notification['platform']); if (isset($notification['token'])) { if ($notification['token'] != '') { log::add('mobile', 'debug', '| Token à ajouter > ' . $notification['token']);