تكامل OneSignal / إشعارات الدفع

Hi All,

i try to setup the onesignal service : https://onesignal.com/

so i did :

But i’m facing this error in the onesignal dashboard :
18

it fail to load this file : https://francais-a-londres.org/OneSignalSDKWorker.js?appId=“bliblaapinumber”

I guess i’m failing at uploading the sdk onesignal files. Any idea on how to do so ? on a digital ocean instance ?
@pmusaraj maybe you have an idea ?

Many thanks,

Did you setup OneSignal to send Web Push Notifications? The discourse-onesignal plugin should only be used for iOS notifications, the screen above with the “Service Worker 404” error does not look like an iOS issue.

So, if you’re trying to set up OneSignal for an iOS app, the first step is good (installing the discourse-onesignal plugin), but the second step should be to start setting up the app according to the instructions in the repository at https://github.com/pmusaraj/discourse-mobile-single-site-app

thank you @pmusaraj,

i was trying to use the web push notification. This is why it wasn’t working. thanks for your help.

مرحبًا بالجميع،

ما هو النظام الذي يربط معرف اللاعب (player-id) من Onesignal بمعرف المستخدم (userid) في Discourse؟
لقد بحثت، لكن في قائمة المستخدمين الخاصة بي على Onesignal لا توجد أي بيانات تتعلق بمستخدم Discourse، وفي Discourse لم أتمكن من العثور على أي مرجع لمستخدم Onesignal.

شكرًا لكم،
ف.

يتم إرسال اسم المستخدم إلى OneSignal كوسم (ويستخدم مكون Discourse هذا كهدف لإشعارات الدفع).

https://github.com/pmusaraj/discourse-mobile-single-site-app/blob/master/js/Manager.js#L70

أفهم وجهة نظرك، لكن مستخدمين لدي لديهم علامة فارغة في لوحة تحكم OneSignal

ومع ذلك، فإن الإشعارات تعمل…