End Call Android Native

development_aamir_testing23
Aamir Muhammad 2 years ago
parent bce79efdd2
commit 1d7de73d28

@ -165,6 +165,7 @@ class _LoginScreenState extends State<LoginScreen> with WidgetsBindingObserver{
Future<void> connectCall() async {
try {
UserAutoLoginModel userLoginResponse = await ChatApiClient().getUserCallToken(userid: _iosCallPayload!.incomingCallerId!.split("-").last);
if (userLoginResponse.response != null) {
@ -195,9 +196,10 @@ class _LoginScreenState extends State<LoginScreen> with WidgetsBindingObserver{
Future<void> callListeners() async {
try {
print("CallListners Init");
print("Call Listeners Init");
FlutterCallkitIncoming.onEvent.listen((CallEvent? event) async {
switch (event!.event) {
case Event.actionCallIncoming:
break;
case Event.actionCallStart:

Loading…
Cancel
Save