72
Views
4
Comments
[OneSignal Plugin] Why there is no "headings" in the request?
Question
onesignal-plugin
Mobile icon
Forge asset by OutSystems

Hi,

Updating to latest version of the plugin I was hoping to see "headings" added to the post notification request but it is still missing. It is easy to add manually but each time I lose possibility for seamless update. 

Also there is some problem with iOS while receiving notification within the app that sometimes instead of system notification I'm getting alert. Reinstalling application solves the problem but it would be nice to know at what situations plugin falls beck to alert when the inFocus display option is set to NOTIFICATION. Also as it is an alert it has "cancel" button and it is triggering redirect to deep link.... it would have more sense to have ok/read now and cancel buttons to have possibility to just discard the alert without breaking user flow. We have a chat app with notifications and user is redirected to the proper conversation each time he clicks on notification. But when it is an alert it breaks the flow - when chatting with one person and receive alert from another one clicking cancel redirects to that another user conversation.


2024-03-25 06-19-08
Harlin Setiadarma

I second this.

Without headings it looked a bit ugly in Android compared with other notifications.


2024-03-25 06-19-08
Harlin Setiadarma

Here's better with headings...


2024-03-25 06-19-08
Harlin Setiadarma

I'm sorry if I resurrecting old post, but I made this plugin that extends original OneSignalAPI to include headings.

Maybe more feature will be developed later on.

https://www.outsystems.com/forge/component-overview/12908/onesignal-api-ext

2018-12-09 19-13-19
Tiago Gomes

Hi @Mykola (Nick) Tkachenko,

Did you found any solution for your problem? I'm also facing that issue however, for my understanding setting the InFocusDisplayOption to NONE should fix the issue.

Possible values for InFocusDisplayOption parameters. These control how OneSignal notifications will be shown when one is received while your app is in focus.

- Notification: native notification display while user has app in focus (can be distracting).

- InAppAlert: native alert dialog display, which can be helpful during development.

- None: notification is silent.


Let me know if you have any feedback.

Thank you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.