Open iamsiddharthkamble opened 7 months ago
In Android Studio log
sendEvent scopeVoice params {"type":"voiceEventRegistered"}
but at the node console the response of voice.register(token) is null.
My react native version 0.73.2
Hi @iamsiddharthkamble please fill out the original issue template. It helps us tremendously with debugging customer issues. For example, the other versions of the tools in your dev environment.
Hi I use
"@react-native-firebase/app": "^19.2.1",
"@react-native-firebase/messaging": "^19.2.1",
"@twilio/voice-react-native-sdk": "^1.0.0-beta.4",
"react": "18.2.0",
"react-native": "0.73.2",
MainReactNativeHost.kt MainApplication.kt MainActivity.kt
useEffect(()=>{
registerCall()
},[])
const registerCall=async()=>{
try{
const registerCallResult = await voice.register(token);
console.log(registerCallResult,"registerCallResult")
}catch(e){
console.log(e,'error at registerCallResult')
}
}
the output on the console is like
LOG null registerCallResult
but in Android Studio logcat I found that
sendEvent scopeVoice params {"type":"voiceEventRegistered"}
Hi @iamsiddharthkamble are you still encountering this issue? Please let me know your Android version and the rest of you development environment if so. See the Issue Template here: https://github.com/twilio/twilio-voice-react-native/blob/main/.github/ISSUE_TEMPLATE.md
when I call the register method with the access token , if token is invalid, getting response with error code status , but when token is valid getting response null
my MainActivity.kt is like
and MainApplication.kt is like