bytefish / FcmSharp

Firebase Cloud Messaging (FCM) with .NET
MIT License
6 stars 7 forks source link

ApsAlert.cs missing subtitle properties #33

Closed JeremyWeir closed 5 years ago

JeremyWeir commented 6 years ago

Hey, can you add the subtitle properties to the Alert class?

https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943365

Thanks, Jeremy

p.s. What is action-loc-key? I don't see it in the above doc

bytefish commented 5 years ago

Yes I can add it. The class is basically the same as in the Firebase Java SDK, maybe the action-loc-key has been in there, I didn't cross-check the Apple specs. 😅

bytefish commented 5 years ago

Apparently Google Implements this Spec, which has an action-loc-key and no subtitle Property.

bytefish commented 5 years ago

I have made a 2.6.0-alpha pre-release, that includes the Subtitle for an Aps Alert:

Could you please let me know, if it works as expected? Then I could do a stable release. 😎

bytefish commented 5 years ago

@JeremyWeir Did you have a chance to test it?

bytefish commented 5 years ago

I will leave it in the 2.6.0-alpha for now, because I am not able to test it myself.