laurie
08/13/2025, 12:07 PMPlayerActor.SendPushNotification doesn't take any delay parameters, and if we look at PushNotificationActor.SendBatchAsync, it looks like we construct the Firebase Message object using Android = DefaultAndroidConfig. From Firebase's documentation, it looks like this is where we'd inject the TTL, and there is a corresponding parameter TimeToLive available on AndroidConfig. This config looks like it exposes a number of other potentially useful fields, e.g. Priority.
Is it feasible to make my own edits to the Metaplay SDK (Unity/Project/MetaplaySDK/Backend/Server/Player/PlayerActorBase.cs) to allow mutation of the AndroidConfig? What are the implications for when I wish to stop running the Metaplay server locally, and move to your own cloud hosted solution?Jarkko-Metaplay
08/13/2025, 12:27 PMPlayerActorBase.MyGameName.cs and there extend partial clas PlayerActorBase<> { public int MySendNotification(..) { ... } . This way if you get new PlayerActorBase.cs from new SDK version you wouldn't overwrite your additions.laurie
08/13/2025, 12:29 PM