From 15abf551fa3f200f2e9662201308522052ba5124 Mon Sep 17 00:00:00 2001 From: Nico Wiedemann Date: Mon, 11 Nov 2024 00:12:32 +0100 Subject: [PATCH] support for progress notifcations Added progress, progress_max and progress_indeterminate to support progress notifcations for Android devices. --- functions/android.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/android.js b/functions/android.js index f480543..633ae85 100644 --- a/functions/android.js +++ b/functions/android.js @@ -55,7 +55,8 @@ module.exports = { 'package_name', 'tts_text', 'media_stream', 'command', 'intent_package_name', 'intent_action', 'intent_extras', 'media_command', 'media_package_name', 'intent_uri', 'intent_type', 'ble_uuid', 'ble_major', 'ble_minor', 'confirmation', - 'app_lock_enabled', 'app_lock_timeout', 'home_bypass_enabled', 'car_ui', 'ble_measured_power' + 'app_lock_enabled', 'app_lock_timeout', 'home_bypass_enabled', 'car_ui', 'ble_measured_power', + 'progress', 'progress_max', 'progress_indeterminate' ]) { if (req.body.data[key]){ payload.data[key] = String(req.body.data[key]);