merge-requests/188/head
Aamir Muhammad 3 years ago
parent 9dd4456c51
commit 104c93f95a

@ -3,8 +3,8 @@ import 'package:mohem_flutter_app/ui/marathon/widgets/question_card.dart';
class ApiConsts {
//static String baseUrl = "http://10.200.204.20:2801/"; // Local server
// static String baseUrl = "https://erptstapp.srca.org.sa"; // SRCA server
static String baseUrl = "https://uat.hmgwebservices.com"; // UAT server
// static String baseUrl = "https://hmgwebservices.com"; // Live server
//static String baseUrl = "https://uat.hmgwebservices.com"; // UAT server
static String baseUrl = "https://hmgwebservices.com"; // Live server
static String baseUrlServices = baseUrl + "/Services/"; // server
// static String baseUrlServices = "https://api.cssynapses.com/tangheem/"; // Live server
static String utilitiesRest = baseUrlServices + "Utilities.svc/REST/";

@ -132,6 +132,7 @@ class AppNotifications {
Utils.saveStringFromPrefs("notificationData", message.data["user_chat_history_response"].toString());
}
}
}
AndroidNotificationChannel channel = const AndroidNotificationChannel(
"high_importance_channel",

@ -203,6 +203,7 @@ class ChatCallProvider with ChangeNotifier, DiagnosticableTreeMixin {
}
if (_pc.connectionState == RTCPeerConnectionState.RTCPeerConnectionStateConnected) {
_pc.dispose();
_pc.close();
}
isCallStarted = false;
isVideoCall = false;
@ -225,6 +226,7 @@ class ChatCallProvider with ChangeNotifier, DiagnosticableTreeMixin {
}
if (_pc.connectionState == RTCPeerConnectionState.RTCPeerConnectionStateConnected) {
_pc.dispose();
_pc.close();
}
isCallStarted = false;
isVideoCall = false;

Loading…
Cancel
Save