OneSignal integration / push notifications

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 GitHub - pmusaraj/discourse-mobile-single-site-app: Single-site app wrapper for a Discourse site. Supports Push Notifications via OneSignal. · GitHub

thank you @pmusaraj,

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

여러분 안녕하세요,

Onesignal의 플레이어 ID와 Discourse의 사용자 ID를 연결하는 시스템이 무엇인가요?
검색을 해보았지만, Onesignal의 사용자 목록에는 Discourse 사용자에 대한 데이터가 없으며, Discourse에서도 Onesignal 사용자를 참조할 수 없었습니다.

감사합니다.

F.

사용자 이름은 OneSignal에 태그로 전송됩니다(그리고 Discourse 플러그인은 이를 푸시 알림의 대상으로 사용합니다).

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

말씀은 이해하지만, 내 사용자의 Onesignal 대시보드에 태그가 비어 있어요.

그런데 푸시는 정상적으로 작동하고 있는데…