Dear team,
I have 2 simple Apps, one "Admin" App and one "Members" App.
In the "Admin" App, the admin person adds a product.
I would then like to send out an automatic notification to all the Users in the "Members" App, as soon as the admin person adds this new product when clicking on "Save", making all the Members aware that there is a new product available.
If not for a notification, the Members wouldn't know about the new available product and will only see it if they physically go back into the "Members" App.
What I have so far:
1. Admin App that can CRUD the Product.
2. Members App can view the Products added by the Admin App.
The notification between the two is where I'm stuck and would like some assistance please?
Please find below the .oml file for the "Admin" App... can't seem to add the .oml file for the "Members" App here too... not sure how to share the second .oml file in this same post...
Regards, Hennie.
Hi Hennie Smith,
add second .oml file os "Members" " in reply
Thanks
Hi KUNDAN CHAUHAN,
Please see below "Members" .oml file and advise accordingly.
Dear KUNDAN CHAUHAN,
Do you perhaps have any feedback/solution on the discussed matter... I'm really stuck here and need a solution fast?
I think this thread can help you: https://www.outsystems.com/forums/discussion/26525/push-notifications/
Hi Carlos Rodrigues,
If I understand the thread correctly it refers to in-app notifications used to guide and notify the user inside the App life-cycle only.
I refer to all of these below and in none I can find a clear simple solution for my problem.
I know the answer is somewhere in between the below, but I'm just too much of a newby in Outsystems to find it:
https://www.outsystems.com/forge/component-overview/1541/local-notifications-plugin
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Interaction/Notification
https://www.outsystems.com/forums/discussion/26525/in-app-notifications-mobile-push-notifications/
https://www.outsystems.com/forge/component-overview/13013/notification-center
https://www.outsystems.com/forums/discussion/20830/local-notifications-plugin-how-to-schedule-a-local-notification/
https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/Mobile_Plugins/Firebase_Plugins/Firebase_Cloud_Messaging_plugin
https://www.outsystems.com/forums/discussion/31931/firebase-cloud-message-plugin-firebase-cloud-message-plugin-documentation/
https://www.outsystems.com/forge/component-overview/7122/todayextensionplugin
https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/Mobile_Plugins
https://www.outsystems.com/product-updates/firebase-cloud-messaging/
https://www.outsystems.com/forge/component-overview/1950/cm-hybridmessaging-plugin
Attached hereto is the second .oml file should you want to have a crack at it.
Hi @Hennie Smith ,
You can simply use OneSignal push notifications.
Here's the forge component for thathttps://www.outsystems.com/forge/component-overview/2119/onesignal-plugin
Sample Apphttps://www.outsystems.com/forge/component-overview/4198/onesignal-plugin-sample
You need to record each user in OneSignal when they login, the example code must be there in their sample app. You can also use various features offered like segments, tags etc. if you wish to send broadcast notification for a group of users. You can send them individually as well.
Hi Ravi,
Thank you for the reply, I've installed the plugin in my environment and also the Sample App, I'm getting the following error when running the Sample App in the browser:
And the following error when I run the Sample App on a physical Android Device:
Don't want to waste your time, can you please point me to a step by step Tutorial as to how to implement your solution and use the OneSignal plugin from start to finish so that I can try and figure out what I'm doing wrong here.
Regards, Hennie Smith.
Hi Hennie,
You need to test this from Android or iOS device, it won't work from emulator because you want to receive a notification on the device.
Also it uses cordova and the native plugin code, so you need to generate the app after publishing and install on your device.
The Emulator part I get, thank you, but as mentioned to you, I have generated the Android Apk:
Installed it on 2 Android phones:
And yet I get this error on both phones when trying to send a notification:
That's why I'm asking for a Tutorial.... surely somewhere in this implementation process I should create a OneSignal Account and link this App to that Account or something of the sorts....
I'm reading this post but don't seem to understand exactly how to do it:
https://success.outsystems.com/Documentation/How-to_Guides/Integrations/How_to_Use_Push_Notifications_with_OneSignal
That sample app is the tutorial only. You can install that sample app and try using the feature of OneSignal.
Once you see it is working, then use similar code in your own app, then generate the Android app + install on device.
Hi Ravi, it's me again...
I followed this Tutorial:
But I'm stuck at this part in the Tutorial:
Here's my App, I got to this part and don't know what to put into the Message field:
Please help!!