Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating to Basic UI sitemap page from enhanced notification does not work consistently #842

Open
2 of 3 tasks
lukiep opened this issue Oct 12, 2024 · 0 comments
Open
2 of 3 tasks

Comments

@lukiep
Copy link

lukiep commented Oct 12, 2024

New bug checklist

Describe the bug
As per point 2 in https://community.openhab.org/t/ios-notifications-with-openhab-cloud-connector/159490

  • Using enhanced notification, navigating to a specific sitemap page via an action button eg "ui:/basicui/app?w=0000&sitemap=Crib" only really works if the iOS app has been previously opened and I have previously navigated to the sitemap (in Basic Ui).
  • If the iOS app hasn’t already been accessed, then I just get the Overview page of Main UI.
  • In summary, when attempting to navigate to a specific sitemap page, the app doesn’t reliably open the Basic UI as requested.

To Reproduce
Steps to reproduce the behavior:
Notification definition:
actions.NotificationAction.sendNotification("[email protected]", "ALERT: This is a test.", "motion", "HVAC", "Im Really Hot!!!", "msg-alert-its_hot", "ui:/basicui/app?w=0000&sitemap=Crib", null, "OpenHAB=ui:/basicui/app?sitemap=Crib", "CoolTheHouse=rule:NotificationTest:prop1=OFF", "Cool The House=command:Test_Switch_1:ON");

  1. Make sure the OpenHAB iOS app is closed (not in the background).
  2. Trigger the enhanced notification.
  3. Long press the notification and select the action button containing the navigation to basic UI.
  4. My experience is it navigates to Main UI.
  5. Now navigate to the basic UI sitemap and minimise (but not force close the app).
  6. Follow the steps and this time it should navigate as expected.

Expected behavior

  • Open specific Basic UI sitemap page as per the link.

Screenshots
If applicable, add screenshots to help explain your problem.

App (please complete the following information):

  • Version: 3.0.5(11)

Smartphone (please complete the following information):

  • Device: iPhone 13, iOS 18.0.1

openHAB (please complete the following information):

  • Version 4.3M2

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant