public async void OnMessage (Newtonsoft.Json.Linq.JObject values, PushNotification.Plugin.Abstractions.DeviceType deviceType)
{
if (deviceType == DeviceType.iOS) {
Debug.WriteLine (values.SelectToken("aps"));
}
Gives me the following output:
{
alert = "This is a test alert.";
badge = 0;
sound = default;
}
I want to parse alert but it seems like I can't since the " are missing around it, right?
How can I retrieve the string This is a test alert.?
Any tipps / ideas?
Hi,
Gives me the following output:
I want to parse
alert
but it seems like I can't since the"
are missing around it, right? How can I retrieve the stringThis is a test alert.
? Any tipps / ideas?BR