Sends push notifications to specific mobile devices/device via OneSignal web API.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
OneSignal.Template
.gitattributes
.gitignore Add .gitignore and .gitattributes. Feb 18, 2018
OneSignal.API.Template.zip
OneSignal.Template.sln
README.md

README.md

OneSignal.PushNotification.API

Sends push notifications to specific mobile devices/device via OneSignal web API.

You can use it like this:

            Notification myNotification = new Notification();
            myNotification.contents = "HEELO FROM PUSH NOTIFICATION!";
            myNotification.small_icon = "icon.png";
            myNotification.include_player_ids = new List<string> { "OneSignal_playerid_fordevice","Another_onesignal_playerid" };
            myNotification.Send();

It's Easy You can find a sample here: Sending Push Notifications from API | enisnecipoglu.com