First you need to add unifiedpush-java-client.jar
as a dependency to your Java project.
Then let's use following snippet in your Java code to enable push notification sending.
First you need to download add unifiedpush-node-sender
as a dependency to your project.
Then let's use following snippet in your Node.js code to enable push notification sending.
If none from the official client libs doesn't suit you or you just want to simply try out the notification sending, you can use REST API directly.
Run following curl
command in the shell to send notification to UPS server.
Read more on the details of the Java UPS Sender API in documentation.
If you have questions about this process, visit the documentation for full step by step explanation.
Read more on the details of the Node.js UPS Sender API in documentation.
Read more on the details of the UPS REST Sender API in documentation.