Could you at least say which dependency needs updating, or better yet, submit a PR with the fix?
Sure, our developer at Quemuse submitted a PR:
https://github.com/pmusaraj/discourse-mobile-single-site-app/pull/20
How did you get notifications to work for everyone who downloads the app?
If a user hasnât signed up yet (which is gonna be 99% of people), theyâre gonna skip the prompt, sign up, and wonât receive notifications because they didnât login with the prompt.
Also, for people who skip the prompt and sign in through the header button, they wonât get notifications either.
Notifications only work on iOS when the person signs in through the login prompt when you first download it. Also, there is no signup link on the login prompt for me.
The app only receives notifications if the user does not skip the prompt. You could delay the prompt until later, but this hasnât been an issue with real users.
I donât mean the native prompt that says âWould you like X to send you notifications? Accept or Declineâ. I mean the login splash screen that is displayed within the initial installation of the app.
Ah, there should be a âConnectâ button. It shows up only after they have logged in, as anon there are no notifications.
Right, my concern is that a new person trying out the app for the first time skips the login splash screen (since they donât have an account), after using the forum for some time, they decide to create an account. They do so, but now they wonât receive notifications because they didnât login back when they installed the app.
Currently, we use a disclaimer text in the splash screen to help users understand.
Hi, I was able to install onesignal on my whitelabeled app but the notification are only showed when I open the app. Is there a config I am missing?
Thx!
F.
That seems to indicate that push notifications arenât configured correctly. Did you build the app with the same PN certificate as what you added to the OneSignal account?
All is working using the discourse plugin. I want to implement a separate push mechanism using onesignal API but I dont know where Discourse is storing Onesignal reference to the user id or the way around.
From the discourse onesignal plugin it seems that the call is made via username ( https://github.com/pmusaraj/discourse-onesignal/blob/master/plugin.rb line 46 ) but there are no tags on Onesignal.
I am curious, is OneSignal push notification still working with the latest iOS?
Thanks @pmusaraj for developing this great app. I tried it for my forum because I want to have an app where notifications work and with your app it definitely works (tested on Android)! Thanks a lot for this. However, during testing I encountered three bugs.
On a Xiaomi device, the app starts further down. This white strip is distracting.
:::
On a Samsung device when the font in the settings is enlarged, the font in the app is much larger. Some elements are no longer accessible.
:::
Lastly, a bug that definitely needs to be fixed. After logging out of Discourse in the app, you still get the user notifications. Was on both devices - Samsung and Xiaomi.
Any body using it in 2024?
Looking to get ios push notifications set up for Discourse (particularly for Chat) in my app.
@pmusaraj - last commit on this was in January of 2023. Does this still work?
And then to others on this thread: is anyone actively using this and able to verify that this still works?
I suspect as is, this doesnât work. I havenât had to use this for my projects in more than a few years, and mobile app build tooling (for good or bad) changes quickly, so youâll likely have trouble even running this locally.
Thanks @pmusaraj. Assuming I can take care of the mobile part on my end do you think the discourse-onesigna plugin would still work?
If not, would appreciate your thoughts on the best path to pick up the notification events and send them off somewhere.
Iâm not sure. I suspect it will stop working soon, because it hasnât had updates in 2 years and chances are the OneSignal API has changed since. Youâre welcome to fork it and build on it, though!