tiagomtotti / firebaseNet

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

Will this work for notifying ios too? #3

Open codeandcloud opened 7 years ago

codeandcloud commented 7 years ago

The library seem very concise and straight forward. Thanks I saw this code

 Notification notification = new AndroidNotification();

So, will it work for ios? I did not see an implementation difference in both. That's why the query.

tiagomtotti commented 7 years ago

Hi @codeandcloud ,

The basic fields are equal in both Android and Notification classes and it should work. However, if you wan`t to use IOs specific fields, like "sound", for instance, you should use a IOSNotification instead,