45
Views
3
Comments
[OneSignal Plugin] Cannot register user in the "Devices" entity
Question
onesignal-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile
Service Studio Version
11.54.80 (Build 63648)
Platform Version
11.27.0 (Build 42539)

Hi there,

So I have installed the OneSignal plugin from the forge. I had issues in the past with creating an entry in the "Devices" table to associate the DeviceId with the UserId. I have narrowed down the issue to the 2 Server Actions within "RegisterUser" Server action : 


The Server Action "GetTagsFromUser" attempts to get "Tags" from the "GroupTags" entity (which is empty as no user or group has been added), and then the "SetTags" Server Action attempts to add the tags to both OneSignal dashboards via the "EditDevices" RestAPI and the "GroupTags" entity:

an error is thrown as there are no tags to add via the "EditDevices" REST API.


Why is this built into the plugin? Am I meant to create a GroupTag if so how? Where is this documented? Any assistance would be greatly appreciated

UserImage.jpg
Sérgio Pinto Ferrás

I also want some help here - this is not allowing me to register any device at all


I believe we need an updated plugin with no GetTags and SetTags action

2024-11-18 11-13-15
Shah Rahman

Hey @Sérgio Pinto Ferrás there is another forge component called OneSignal API Ext which can help: 

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



2021-02-17 18-31-05
Alexandre Jacinto
Staff

Hi there!

There is a new version of the OneSignal plugin for O11 (3.7.8) which has a fix for this logic where the EditDevice API from OneSignal is called, and the error shouldn't be thrown anymore.

Best regards.

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