twilio / twilio-voice-react-native

Other
62 stars 22 forks source link

Cannot read property 'voice_connect_android' of null", using expo #360

Open solidneeds opened 2 months ago

solidneeds commented 2 months ago

Issue

Cannot read property 'voice_connect_android' of null", using expo react-native

Pre-submission Checklist

Description

voice.connect() throws errors when making outgoing call "Cannot read property 'voice_connect_android' of null", using expo"

Cannot read property 'voice_getAudioDevices' of null

Reproduction Steps

voice.connect() throws errors when making outgoing call

Expected Behavior

voice.connect() throws errors when making outgoing call

Actual Behavior

voice.connect() throws errors when making outgoing call on button click

Reproduction Frequency

throws errors when making outgoing call

Screenshots

Screenshot 2024-04-21 134708

Software and Device Information

Please complete the following information.

Additional Context

Add any other context about the problem here.

mhuynh5757 commented 2 months ago

Hi @solidneeds thanks for bringing this to our attention. It seems like this issue results from using Expo, is it possible for you to test using the Test App baked into this repo, just to verify? It is located in the test/app/ folder.

solidneeds commented 2 months ago

Hi @solidneeds thanks for bringing this to our attention. It seems like this issue results from using Expo, is it possible for you to test using the Test App baked into this repo, just to verify? It is located in the test/app/ folder.

i get this error Screenshot 2024-04-23 105423

SidMasih commented 1 month ago

@solidneeds did you resolve this?

Pretty sure that this will only work with prebuild expo (aka no expo go and a few conifg requirements)

SidMasih commented 1 month ago

https://github.com/twilio/twilio-voice-react-native/issues/305 check this out if anyone is running into this issue