masashi-sutou / flutter_ios_voip_kit

One-to-one video call using CallKit and PushKit with flutter iOS app.
MIT License
67 stars 45 forks source link

Voip Token, Device Token, Nodejs Server #44

Open zionnite opened 2 years ago

zionnite commented 2 years ago

first, thanks for this amazing package

have been studying this package for over two days now, and I found some interesting challenges I can't seem to wrap my head around,

1) How can I get a Device token?

2)Is the Device token unique to the user or to the app?

3) Is Device Token the same as VoIP Token? and How do I get VoIP Token?

4) I have seen some code snippets of how the Nodejs server sends a request to APNs but none show how to connect the flutter app to Nodejs. Please how do use this package along with my app make a connection to the Nodejs server

What have done so far

  1. Have downloaded the Voip Certificate, have added it to the keychain
  2. have exported it into the .p12 format
  3. Have generated the .pem file from the .p12 format
  4. Have downloaded the key .p8 file from my apple developer account
  5. I have the key id
  6. I have my team id

Please your insight, article, or video will really be helpful