Contents

channelManager(_:receivedEphemeralPushToken:)

Tells the observer that the app received a push token after you create a channel manager.

Declaration

func channelManager(_ channelManager: PTChannelManager, receivedEphemeralPushToken pushToken: Data)

Parameters

  • channelManager:

    The channel manager.

  • pushToken:

    The ephemeral push token.

Mentioned in

Discussion

The framework provides a token to this method after you initialize PTChannelManager. The token isn’t active until a person joins the channel. If they leave the channel, you need to wait until they rejoin to resume notifications.

When you send push notifications, the apns-topic header field needs to contain your app’s bundle identifier with the .voip-ptt suffix.