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

[Bug]: Multiple In-app trigger not getting fired #1523

Open
3 tasks done
prince-d-simform opened this issue Jun 15, 2023 · 1 comment
Open
3 tasks done

[Bug]: Multiple In-app trigger not getting fired #1523

prince-d-simform opened this issue Jun 15, 2023 · 1 comment

Comments

@prince-d-simform
Copy link

What happened?

We have basically two screens one is login and one is the home screen now in the login screen we are triggering an event with one signal which shows the customized welcome pop up now after login as soon as we move to Home Screen we are triggering another event which is Push notification permission pop up now issue is that at the time we move to home screen the login pop up is still there and if user close that pop up then both home screen pop up and login pop up both are getting popped out and because of that user in not able to see home screen notification pop up.

Steps to reproduce?

1. Trigger the first event from the login screen (Or screen one):  OneSignal.addTrigger("login", 'true');
2. Tigger second event from Home screen (Or screen two): OneSignal.addTrigger("promt_notification", 'true');

3. Check-in app Home Screen (Or Second Screen) you will able to see both the Pop up and when we try to dismiss login then it will also dismiss the home screen pop-up.

FYI: When we use session duration instead of in-app trigger event then it's working fine. So we think issue is with in-app trigger events.

What did you expect to happen?

If we close the login pop up then it should have not an effect on the home screen (promt_notification) pop-up.

React Native OneSignal SDK version

"react-native-onesignal": "4.5.1"

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

jennantilla commented Jun 16, 2023

Thanks for the details! We will work on reproducing this and get back to you as soon as possible.

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

2 participants