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

iOS Auto Redirect to Deeplink Without User Interaction #86

Open
mshaheer-softindex opened this issue Jan 23, 2025 · 0 comments
Open

iOS Auto Redirect to Deeplink Without User Interaction #86

mshaheer-softindex opened this issue Jan 23, 2025 · 0 comments

Comments

@mshaheer-softindex
Copy link

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.

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