reportNewIncomingCallWithUUIDUpdateCompletion works fine, but when the user accepts the call, the call never connects. After a while the call time out.
I debugged the source and if I output the CXTransaction from the delegate by:
providerExecuteTransaction(provider: CXProvider, transaction: CXTransaction): boolean {
console.log("CALLKIT: Delegate, providerExecuteTransaction");
console.log(transaction.debugDescription);
return true;
}
I can see that the transaction contains the CXAnswerCall action and that the transactions seems to commit successfully. Here's my output:
Received request to commit transaction
CONSOLE LOG file:///app/bundle.js:4780:20: CALLKIT: delegate, providerExecuteTransaction
CONSOLE LOG file:///app/bundle.js:4781:20: <CXTransaction 0x281bec440 UUID=C1E47A16-482E-4C0D-9CF9-EB342BED6E72 isComplete=0 actions=(
"<CXAnswerCallAction 0x2830e65a0 UUID=0DE8008E-292A-43A8-AEB9-0DD90CB93995 state=0 commitDate=2019-06-18 23:27:07 +0000 callUUID=45A588A0-2217-49A9-AC45-546B7750D4FD localLandscapeAspectRatio={0, 0} localPortraitAspectRatio={0, 0} dateConnected=(null) downgradeToAudio=0>"
)>
Delegate indicated that the transaction was executed
However the delegate method providerPerformAnswerCallAction is never invoked.
reportNewIncomingCallWithUUIDUpdateCompletion works fine, but when the user accepts the call, the call never connects. After a while the call time out.
I debugged the source and if I output the CXTransaction from the delegate by:
providerExecuteTransaction(provider: CXProvider, transaction: CXTransaction): boolean {
console.log("CALLKIT: Delegate, providerExecuteTransaction");
console.log(transaction.debugDescription);
return true;
}
I can see that the transaction contains the CXAnswerCall action and that the transactions seems to commit successfully. Here's my output:
Received request to commit transaction
CONSOLE LOG file:///app/bundle.js:4780:20: CALLKIT: delegate, providerExecuteTransaction
CONSOLE LOG file:///app/bundle.js:4781:20: <CXTransaction 0x281bec440 UUID=C1E47A16-482E-4C0D-9CF9-EB342BED6E72 isComplete=0 actions=(
"<CXAnswerCallAction 0x2830e65a0 UUID=0DE8008E-292A-43A8-AEB9-0DD90CB93995 state=0 commitDate=2019-06-18 23:27:07 +0000 callUUID=45A588A0-2217-49A9-AC45-546B7750D4FD localLandscapeAspectRatio={0, 0} localPortraitAspectRatio={0, 0} dateConnected=(null) downgradeToAudio=0>"
)>
Delegate indicated that the transaction was executed
However the delegate method providerPerformAnswerCallAction is never invoked.