I am facing issues regarding setting up Push Notifications from stream.io in my unity project. I have the firebase token which I want to send to stream chat in order to setup push notifications for chat notifications.
I have setup other than chat notifications using playfab cloudscript & firebase.
Environment: Unity 2022.3.25f Push Provider: Firebase Target devices: iOS
My questions are:
Does the below method handles sending push notifications if I pass firebase token in parameters?
Will it send push notifications for every message?
public async Task AddDeviceAsync(string token) { await Client.DeviceApi.AddDeviceAsync(new CreateDeviceRequest { //Device ID provided by the notifications provider e.g. Token //provided by Firebase Messaging SDK Id = token, PushProvider = PushProviderType.Firebase, }); }