hoxfon / react-native-twilio-programmable-voice

React Native wrapper for Twilio Programmable Voice SDK
MIT License
181 stars 152 forks source link

Question: Do i need to create different push credential on Twilio console for IOS and Android? #178

Closed salman-pixarsart closed 3 years ago

salman-pixarsart commented 3 years ago

I'm trying to setup Twilio with FCM. Do I need to create different Push Credentials for IOS and Android? Or It will work using the one FCM Push Credentials. Any example would be helpful.

mustafa5199 commented 3 years ago

@salman-pixarsart , yeah you need to create differebt Push Credentials for IOS and Android. Because push notifications for IOS it handled through APNS and for Android it get handled through FCM.

salman-pixarsart commented 3 years ago

That means for IOS, FCM tokens won't be required. APN token would be sent through the Voice.Register method?

salman-pixarsart commented 3 years ago

And do I need to manage to 2 push credentials SIDs on the server-side?

salman-pixarsart commented 3 years ago

Closing this issue since it's not the right place to ask backend questions.