tiagomtotti / firebaseNet

Client library for Firebase Cloud Messaging (FCM) written in C# / .NET
Apache License 2.0
95 stars 30 forks source link

Sending an iOS message chrashes #15

Open JelteVrijhoef opened 7 years ago

JelteVrijhoef commented 7 years ago

For some reason this line just exits and quits. No error, no response.

Android works just fine with the same message

        FCMClient client = new FCMClient("TOKENKEY");

        var firebaseMessage = new Message()
        {
            To = recipient,
            Notification = iosNotification,
            Data = message.Data
        };
        try
        {
           var result = await client.SendMessageAsync(firebaseMessage);
        }catch(Exception e)
        {

        }
eis84 commented 6 years ago

But this library is writed for IOS too?