-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to Make Outgoing Calls Using Twilio Voice React Native SDK in Expo Managed Workflow #437
Comments
Thanks for reaching out. |
Hi @bobiechen-twilio |
Did you see any exception or did the promise not returning any error? |
@bobiechen-twilio I don’t see any exceptions, and the promise isn’t returning any errors. Here's the code I'm using for making the outbound call: `const makeCall = async () => {
} catch (error) { I reach the state where the log prints console.log('Starting call with number:', '**********'); but after that, nothing happens, and no errors are returned. |
Are you able to run the app from the Xcode debugger? At this point we might need the debug messages from the native ObjC layer in case something went wrong here. |
Description
I'm unable to make outgoing calls using Twilio Voice React Native SDK in Expo Managed Workflow. The following error appears when attempting to make a call:
Error: Failed to initialize PushKit device token
I'm currently focusing on outgoing calls only, but I plan to add support for incoming calls later.
Reproduction Steps
Generate Twilio Access Token using generateTwillioVoiceAccessToken.
Attempt to make an outgoing call using voice.connect().
The error message related to PushKit appears.
Expected Behavior
I expect outgoing calls to work without requiring PushKit initialization.
Actual Behavior
Outgoing calls fail due to PushKit initialization errors, despite not needing incoming calls functionality.
Reproduction Frequency
Occurs 100% of the time.
Software and Device Information
Device: iPhone 12
OS: iOS 16
React version: 18.2.0
React Native version: 0.74.3
Node version: 18.20.4
npm version: 9.6.7
Additional Context
I'm currently using the SDK only for outgoing calls. However, I plan to add incoming calls support in the future. How can I bypass PushKit initialization for now to enable outgoing calls only?
The text was updated successfully, but these errors were encountered: