Skip to main content
Version: 1.0.1

Integrations

Expo Integration

Includes integrations with Expo APIs.

Push Notifications

Provides you to send push notifications via Expo APIs.


var pushTokenList = new List<string> { "ExponentPushToken[yourtoken]" };

var expoClient = new ExpoClient();

var pushTicketRequest = new PushTicketRequest((sbyte)notificationKey)
{
PushTo = pushTokenList,
PushData = someId,
PushTitle = "You have a message!",
PushBody = "Welcome to Milva.",
PushPriority = "default",
PushSound = "default"
};

PushTicketResponse response = await expoClient.PushSendAsync(pushTicketRequest);

You can see the models for request and response from here.