Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to register VOIP token #5782

Open
kouz75 opened this issue Dec 19, 2024 · 2 comments
Open

How to register VOIP token #5782

kouz75 opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
pending-maintainer-response Pending response from a maintainer of this repository push notifications question A question about the Amplify Flutter libraries

Comments

@kouz75
Copy link

kouz75 commented Dec 19, 2024

Hi,

Pinpoint support APNS and APNs VoIP to manage video call.
-> the app (the user) have 2 devices token one for each channel.
Amplify manage the APNS token without any issue.

In our app, we use callkeep which request the APNs VoIP token.
Is there a way to register this token in pinpoint ?
does pinpoint is able to choose the correcte token depending of the push type ?

thanks

@github-actions github-actions bot added pending-triage This issue is in the backlog of issues to triage pending-maintainer-response Pending response from a maintainer of this repository labels Dec 19, 2024
@tyllark
Copy link
Member

tyllark commented Dec 20, 2024

Hello @kouz75 thanks for taking the time to open up the issue. Have you already enabled APNs VoIP in your AWS Console under Pinpoint -> All projects -> "Pinpoint Project Name" -> Settings -> Push notifications -> Edit push notifications -> Configure APNs VoIP?

Also I'm not familiar with callkeep so could you please confirm if this is the correct pubdev package and if you need a token different from our onTokenRecieved Stream.

@github-actions github-actions bot removed the pending-maintainer-response Pending response from a maintainer of this repository label Dec 20, 2024
@tyllark tyllark added question A question about the Amplify Flutter libraries push notifications pending-maintainer-response Pending response from a maintainer of this repository labels Dec 20, 2024
@tyllark tyllark self-assigned this Dec 20, 2024
@github-actions github-actions bot removed the pending-triage This issue is in the backlog of issues to triage label Dec 20, 2024
@tyllark tyllark removed the pending-maintainer-response Pending response from a maintainer of this repository label Dec 20, 2024
@kouz75
Copy link
Author

kouz75 commented Dec 20, 2024

Hi,

Yes, both APNs and APNs VOIP are configured and working correctly (tested with the Apple Push Notification Console).
Yes, it's the correct package.

CallKeep (actually the PushKit Framework) requests a new token from Apple, which is used to send VOIP Push notifications. You can find more information here.

On Amplify, we should be able to set this new token in addition to the standard token. (or manage can manage everything on is side)

On the Pinpoint side, a user should have two endpoints:
The first one with ChannelType equal to APNS_SANDBOX or APNS.
The second one with ChannelType equal to APNS_VOIP_SANDBOX or APNS_VOIP.

thanks

@github-actions github-actions bot added the pending-maintainer-response Pending response from a maintainer of this repository label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-maintainer-response Pending response from a maintainer of this repository push notifications question A question about the Amplify Flutter libraries
Projects
None yet
Development

No branches or pull requests

2 participants