Skip to content

iOS Auto Redirect to Deeplink Without User Interaction #86

@mshaheer-softindex

Description

@mshaheer-softindex

iOS Auto Redirect to Deeplink Without User Interaction

Description

When using the Infobip platform to send push notifications on iOS, I’ve encountered an issue with deeplink behaviour:

  1. If the app is already open and I pull down the notification tray on iOS, then trigger a push notification via the Infobip portal, the notification does not appear in the notification tray.
  2. Instead, the deeplink associated with the notification is triggered automatically without any user interaction.
  3. This deeplink subsequently opens the browser.

Expected Behaviour

The notification should remain in the notification tray until the user explicitly interacts with it (e.g., tapping the notification). The deeplink should not be triggered unless the notification is clicked.

Observed Behaviour

  • This issue occurs only when the app is already in the foreground, and the notification tray is pulled down.
  • If any other app is the primary focus (with the notification tray pulled over it), this behaviorr does not occur. The notification functions as expected in those cases.

Question/Concern

  • Is this behaviour intended, or is it a bug?
  • In the Infobip subscriber, I’m unable to find a way to control this behaviour. Can you provide guidance or a solution to prevent the automatic triggering of deeplinks in this scenario?

Steps to Reproduce

  1. Open the app on iOS.
  2. Pull down the notification tray to partially cover the app.
  3. Trigger a push notification from the Infobip portal.
  4. Observe that the notification does not appear, and the deeplink is triggered automatically.

Additional Information

  • This behavior is specific to iOS and does not occur when the app is in the background or another app is in the foreground.
  • It seems the Infobip subscriber code runs automatically, but there appears to be no way to control this behaviour.

Thank you for looking into this issue. I’d appreciate any advice or fixes that can help address this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions