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

Feature: Handling Action Buttons without Opening the App #777

Open
bbohach opened this issue Apr 4, 2022 · 1 comment
Open

Feature: Handling Action Buttons without Opening the App #777

bbohach opened this issue Apr 4, 2022 · 1 comment

Comments

@bbohach
Copy link

bbohach commented Apr 4, 2022

Description:
Looking for something to handle the following section in the OneSignal docs. Prevent the app from opening when clicking on an action button
https://documentation.onesignal.com/docs/action-buttons#handing-action-buttons-without-opening-the-app

Environment

  1. onesignal-cordova-plugin: ^3.0.2
  2. @capacitor/core: 3.4.1
@bbohach bbohach changed the title Handing Action Buttons without Opening the App Feature: Handing Action Buttons without Opening the App Apr 4, 2022
@bbohach bbohach changed the title Feature: Handing Action Buttons without Opening the App Feature: Handling Action Buttons without Opening the App Apr 4, 2022
@bbohach
Copy link
Author

bbohach commented Apr 4, 2022

I was able to follow this to get it working on iOS (haven't tried Android), combined with setNotificationOpenedHandler to handle the event. But it would be nice to have a function on this plugin to make it easier to work with, so it works for both Android & iOS via this plugin

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

No branches or pull requests

2 participants