By Michael Squire on Wednesday, 29 December 2021
Posted in Native Mobile App
Replies 7
Likes 0
Views 577
Votes 0
Hi,

Quick question about the Native app. The internal notifications works great. If I send a broadcast this pops up in the app on opening, great. I was just wondering if there is anyway to send a push notification that appears on the users home screen, without having to go into the app.

We have OneSignal integrated into the website. Is there an option there?

Thanks

Mike
Hi Michael,

This is actually a correct behaviour if you choose 'broadcast popup' instead of 'broadcast notification', https://shrtm.nu/VaFQ. The broadcast popup will not send any kind of system notification, hence it will not be processed as a push notification for the app.

Hope these clear things up.
·
Thursday, 30 December 2021 14:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thanks for your reply. Noted about the broadcast pop up but my question was really how do I send a push notification?

Are you saying that if I use broadcast notification it will send a push notification to the app? If so is there a setting to stop the emails being sent as well? So it’s just a push notification to the app?

Thanks

Mike
·
Thursday, 30 December 2021 15:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Michael,

Ah, now I get what you meant. I am sorry for the confusion earlier.

Right now there is no specific way to explicitly send a custom push notification to all of your EasySocial Native app's users. The closest that you can do is to send a non-popup broadcast notification. However, that will still send an email notification to the users, depending on the backend alert setting and each user setting, https://shrtm.nu/WgkE, https://shrtm.nu/wcAJ.

We have OneSignal integrated into the website. Is there an option there?

Unfortunately, it is not possible currently as it requires the app to be specifically integrated with OneSignal. However, it is not possible to integrate the app with OneSignal push notification with the app due to the framework limitation of our current native app currently.
·
Thursday, 30 December 2021 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

thank you for that. So if I deactivate email in broadcast notifications in the alerts section and then send a broadcast notification this should work like a push notification but wont send an email?

Mike
·
Thursday, 30 December 2021 17:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Michael,

So if I deactivate email in broadcast notifications in the alerts section and then send a broadcast notification this should work like a push notification but won't send an email?


Yes, that is correct. However, I just checked the current notification behaviour for broadcast and it seems like there is a minor bug that will cause the broadcast notification to not trigger a push notification. I will log this down into the issue tracker so it can be fixed in the next release of EasySocial.

As a workaround to this bug, you can try to change the push notification type from 'instant' to 'cronjob' in your backend mobile push notification app setting (backend > EasySocial > Applications > Mobile Push Notifications > Push Notification Type), https://shrtm.nu/GIXW. After that, you need to set a cron URL as follow in your server.

yoursite.com/index.php?option=com_easysocial&cronmobile=true


We are sorry for the inconvenience caused.
·
Friday, 31 December 2021 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thank you for your help. I have added the Cronjob and deactivated the email settings as you prescribed and that work great.

many thanks for your help.

Mike
·
Monday, 03 January 2022 18:29
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Mike, glad that the issue is resolved for you now! Happy New Year!
·
Monday, 03 January 2022 22:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post