I need to know in worklight how can we send Push Notifications to only Subscribed User?
Please, don't give me reference link of IBM Worklight Console & Administration kind of link. If anyone can provide me exact code or how to do that, I would be pleased.
Did you look at the Event Source-based push notification tutorial and sample application? I do believe it does exactly that.
Learn about push notifications:
Overview: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/notifications/push-notifications-overview/
Event source: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/notifications/push-notifications-overview/#pnext_collapsible_1
Then scroll to the bottom of the page and select the desired environment and review the code and attached sample application.
Related
I want to implement logic to my xamarin.Forms application (for android and Ios), which sends notification to user when something new appears in database. For example when other user add an invitation to database, invited user will receive it. Thanks
If you want to send out push notifications, take a look at One Signal. It is free to use and in my experience is also the easiest to set up with Xamarin.Forms. You would need to follow their tutorial on how to get things set up for iOS, Android, and your server side implementations. After that when something in your DB changes just send a push notification from your server.
Here is a link to the Xamarin.Forms setup: One Signal - Xamarin.Forms
You can also use them to notify the users via email, however I have not tried that.
It depends completely on your underlying backend and services (REST? Websockets?, ...) and is to general to answer clearly.
For a good instruction how to use notifications in Xamarin.Android, take a look here:
Local notifications on Android
Hi Recently I came to know about wechat mini program but as material is very less so I am unable to differentiate the official account and mini program.
I came to know that wechat mini doesnt have push notification but client wants to send the push notification from mini program.
The requirement is that mini program URL will be configured in official menu URL so when User will click to the link wechat will redirect to mini porgram when user clicks on any action then an API call should happen back to the offical program and send the push notification using union ID. Is my assumption right and is it possible?
If by "push notification", you mean sending template message to WeChat users. WeChat's mini-program does offer an API for that.
Here's an article on how to do it
And the other solution as you mentioned, using unionID to get user's official account openID to send a message would also work, but the process is way more complicated. Because currently, WeChat doesn't have a simple API that let you retrieve user's openID with unionID. Meaning you will have to store the relationship of unionID and openID by yourself.
Hope this helps. :D
I think you maybe need the customer service message function,here is the article from the official sites:
customer service message
I am working on push notification module at server side that will send push notification to mobile device.
As I am backend developer only, I need some online portal or similar kind of service that generate fake device token and I as a developer can use that device token and send notification on it. So that portal will display me notification text and other payload info.
I try to search things online but no luck. I have also asked to many mobile developer and my colleagues for this. They don't have any idea for this.
I am not sure that this kind of service is available yet or not.
So thought, will try to ask genius people of this forum.
Thanks in advance.
I have developed an android application with the Parse push notification service and I can send notification from the Parse website.
How can I send push notifications through my own website using ASP.net? Is there any way?
I checked the Parse documentation but i get confused, I would really appreciate it if someone would help me.
Thanks
I ran into similar confusion. I wasn't even sure how to properly setup the user so that I could send a push notification directly to them. Then I found the following post:
Channels and Targeted Push Notifications
Note the last item under the Channels heading:
Most apps might find it useful to have a channel for each user so that
they can send messages to a user across all their devices and have
users follow others in the app.
So, now I know that I should subscribe each user to a channel that uniquely identifies the user (e.g., the 'bobsmith#foo.org' channel).
After I have subscribed the user to their channel, I can call Parse's REST API via my ASP.NET application. See Sending Pushes in the Parse REST API Developers Guide.
For an ASP.NET/C# example of how to submit a push notification check out this answer.
Hello Experts,
I am developing an android application for an SAP mobile project. I am using PHP server-side scripting to send push notifications. The notifications are not seen on my GCM account under the project. Is it not possible to view them in GCM account or am I looking at some wrong place ? please help me with this.
Regards.
If you are trying to view GCM stats from the API Console, you won't see anything, since they are not enabled. You must you the developer console.
To view statistics and any error messages for your GCM applications:
- Go to the Developer Console.
- Login with your developer account.
You will see a page that has a list of all of your apps.
- Click on the "statistics" link next to the app for which you want to view GCM
stats. Now you are on the statistics page.
- Go to the drop-down menu and select the GCM metric you want to view.
Note: Stats on the Google API Console are not enabled for GCM. You
must use the Developer Console.
(Source)