question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possibility to programmatically dismiss an InApp Message

See original GitHub issue

What feature would you like to see?

The possibility to programmatically dismiss an InApp Message

How would you use it?

FirebaseInAppMessaging.getInstance().dismissAll();

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
thatfiredevcommented, Jun 8, 2022

@MarceloMaia2 Thanks for the gentle reminder. I’ve filed this internally and I’m waiting for one of our engineers to take a look at it. We’ll update this thread when a response comes in.

1reaction
MarceloMaia2commented, Mar 4, 2022

@MarceloMaia2 I’m wondering in which cases would you need to programmatically dismiss it? Considering that an in-app-message usually interrupts the user and they have no option but to either click or dismiss it.

@thatfiredev When we are dealing with sessions. An in-app-message interrupts the user and for example, he can block the smartphone and when he unblocks (2/3 minutes after), the application will send him to the login page, due to expiration session and the in-app-message is still going to be active.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Programmatically dismiss a MessageDialog - Stack Overflow
One thing you could try is manually calling the UICommands you added to the MessageDialog for the buttons, but that may just call...
Read more >
Modify behavior of Firebase In-App Messaging messages
Trigger in-app messages programmatically; Use campaign custom metadata; Temporarily disable in-app messages; Enable opt-out message delivery.
Read more >
How to dismiss a phonegap notification programmatically
As such, it may be possible to dismiss the dialog programmatically, but almost certainly not from directly within your JavaScript code.
Read more >
In-App Message Dismissal for Web - Braze
This article covers in-app message dismissal for your web application. ... Configure the requireExplicitInAppMessageDismissal initialization option to true ...
Read more >
How to add Triggers - OneSignal Documentation
The trigger is a custom option for when to show the message. You can trigger the in-app message when the user opens the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found