feat(video_calls): ios mic fix, tokens clearing fix

This commit is contained in:
misha
2026-10-21 16:24:23 +03:00
parent 592f387221
commit 8cb3a184b0
7 changed files with 375 additions and 76 deletions

View File

@@ -167,5 +167,18 @@ void main() {
expect(VideoCallRemoteEndRegistry.contains('other-id'), isTrue);
},
);
test('dismissCallKitOnly ends the matching CallKit call', () async {
await VideoCallEndedPushHandler.dismissCallKitOnly(
conversationUuid: conversation,
);
final ended = calls
.where((call) => call.method == 'endCall')
.map((call) => (call.arguments as Map)['id'])
.toList();
expect(ended, <String>['ringing-id']);
expect(VideoCallRemoteEndRegistry.contains('ringing-id'), isTrue);
});
});
}