Closed cavalryjim closed 6 years ago
Here is a solution: In my fork of the plugin, I commented out the dismissKeyboard tap gesture in the file TwilioVideoViewController.m
// UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissKeyboard)];
// [self.view addGestureRecognizer:tap];
remove & add the plugin
ionic cordova plugin remove cordova-plugin-twilio-video
ionic cordova plugin add ../cordova-plugin-twilio-video
Seems to be working.
Additional note: I also moved to version 1.3.11 of the Twilio iOS SDK to match a working install by @PriceFallin
Twilio SDK v. 1.4 works with my fix also.
I have successfully installed the plugin along with TwilioVideo.framework version 1.4 (& associated frameworks). I have also successfully conducted a video call between two iPhones via an Ionic app (ionic version 3.20.0)
During the video call, tap gestures on the mute, camera, toggle, and end icons seem to be working correctly but tap gestures elsewhere on the screen cause the app to crash. The troublesome tap gesture seems to trigger a dismissKeyboard action.
Xcode output: