firebase / firebase-admin-dotnet

Firebase Admin .NET SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
369 stars 131 forks source link

non-android TimeToLive (for message lifetime)? #336

Closed asaalberglodasoft closed 1 year ago

asaalberglodasoft commented 1 year ago

The 'TimeToLive' property is within the AndroidConfig sub-object of message

https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/messaging/android-config#class_firebase_admin_1_1_messaging_1_1_android_config

Is that the same as the 'time_to_live' flag described here?

https://firebase.google.com/docs/cloud-messaging/concept-options#lifetime

If not, how do I set that 'time_to_live' flag using this API?

google-oss-bot commented 1 year ago

I found a few problems with this issue:

chong-shao commented 1 year ago

Hi @asaalberglodasoft , yes, the "time_to_live" described in the two pages are the same concept.