From 7093ee05f675e282ce6eecfb2bac3ba499cdc51d Mon Sep 17 00:00:00 2001 From: Bouke Timbermont <32333531+btimbermont@users.noreply.github.com> Date: Tue, 20 Jan 2026 14:59:11 +0100 Subject: [PATCH 1/2] 192 Fix navigation in google maps --- RELEASE_NOTES | 4 ++++ puma/apps/android/google_maps/google_maps.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 0688f1bb..97b63bc8 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -1,3 +1,7 @@ +Version 5.0.1 +------------- +192. Google Maps: support newest version 26.02.16 + Version 5.0.0 ------------- 189. WhatsApp: Fix bugs + update support to 2.26.2.70 diff --git a/puma/apps/android/google_maps/google_maps.py b/puma/apps/android/google_maps/google_maps.py index f47acebb..85c5e6d5 100644 --- a/puma/apps/android/google_maps/google_maps.py +++ b/puma/apps/android/google_maps/google_maps.py @@ -19,7 +19,7 @@ class TransportType(Enum): @deprecated('This class does not use the Puma state machine, and will therefore not be maintained. ' + 'If you want to add functionality, please rewrite this class using StateGraph as the abstract base class.') -@supported_version("11.119.0101") +@supported_version("26.02.16") class GoogleMapsActions(AndroidAppiumActions): def __init__(self, device_udid, @@ -68,7 +68,7 @@ def start_navigation(self, search_string: str, transport_type: TransportType = T self.driver.find_element(by=AppiumBy.XPATH, value=first_option).click() mode_xpath = f'//android.widget.LinearLayout[starts-with(@content-desc, "{mode}")]' self.driver.find_element(by=AppiumBy.XPATH, value=mode_xpath).click() - start_xpath = '//android.widget.Button[@content-desc="Start driving navigation"]' + start_xpath = '//android.widget.Button[starts-with(@content-desc, "Start")]' for i in range(time_to_wait): if self.is_present(start_xpath): self.driver.find_element(by=AppiumBy.XPATH, value=start_xpath).click() From 94901a6e19d176bcaa4a12ae034f148ab84eabb9 Mon Sep 17 00:00:00 2001 From: Bouke Timbermont <32333531+btimbermont@users.noreply.github.com> Date: Tue, 20 Jan 2026 14:59:32 +0100 Subject: [PATCH 2/2] 192 Bump version --- puma/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puma/version.py b/puma/version.py index 916c60d6..132e3b45 100644 --- a/puma/version.py +++ b/puma/version.py @@ -1 +1 @@ -version = "5.0.0" +version = "5.0.1"