DEV Community

Discussion on: Send push notification on Loopback with OneSignal

Collapse
 
santy_g33 profile image
edison Santiago

hi, i am trying to implement oneSignal with Loopback 3 but ma gives the following error .... "OneSignal.Notification is not a constructor". I'm just trying to test in the loopback explorer
Can you help me with this error ... thanks

Collapse
 
bouthouri profile image
Oussama Bouthouri

Verify if you have installed and imported the package correctly.
I think it's a reference error, node doesn't know the package yet.
If this doesn't help please share your repo with me so I can test further.