hoxfon / react-native-twilio-programmable-voice

React Native wrapper for Twilio Programmable Voice SDK
MIT License
180 stars 153 forks source link

Failed to register for Twilio push notification in IOS. #182

Closed salman-pixarsart closed 3 years ago

salman-pixarsart commented 3 years ago

FCM is being registered successfully in android but in the IOS I'm getting a log that says failed to register for push notification due to invalid device token.

I've tested by FCM configuration by sending a test notification on an IOS device using FCM token and it was delivered on my IOS device.

Did you follow all the instructions as specified in the Twilio Quickstart repositories? Yes

What version of React Native are you running? 0.63.3

What version of react-native-twilio-programmable-voice are you running? 4.3.0

What device are you using? (e.g iOS10 simulator, Android 7 device)? IOS14 - iPhone 7 plus

Is your app running in foreground, background, or not running? Foreground

Pod Version I'm using? pod 'TwilioVoice', '~> 6.0.2'

Is there any relevant message in the log?

Screenshot 2020-12-29 at 5 54 19 PM

Step to reproduce

Advanced: Have you tried adding breakpoint using AndroidStudio or XCode and analyze the logs? Yes attached the screenshot.

salman-pixarsart commented 3 years ago

Resolve after Downgrading TwilioVoice Pod -> 5.0.2.