Fixed an issue to disconnect the iOS chatbot demo.
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
90031FC22C616EE900408370 /* SimpleChatbotUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90031FC12C616EE900408370 /* SimpleChatbotUITests.swift */; };
|
90031FC22C616EE900408370 /* SimpleChatbotUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90031FC12C616EE900408370 /* SimpleChatbotUITests.swift */; };
|
||||||
90031FC42C616EE900408370 /* SimpleChatbotUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90031FC32C616EE900408370 /* SimpleChatbotUITestsLaunchTests.swift */; };
|
90031FC42C616EE900408370 /* SimpleChatbotUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90031FC32C616EE900408370 /* SimpleChatbotUITestsLaunchTests.swift */; };
|
||||||
90031FDC2C6D5DD700408370 /* ToastModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90031FDB2C6D5DD700408370 /* ToastModifier.swift */; };
|
90031FDC2C6D5DD700408370 /* ToastModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90031FDB2C6D5DD700408370 /* ToastModifier.swift */; };
|
||||||
907C98842D37E6AF0079441F /* PipecatClientIOSDaily in Frameworks */ = {isa = PBXBuildFile; productRef = 907C98832D37E6AF0079441F /* PipecatClientIOSDaily */; };
|
|
||||||
90ABB98E2C735ED6000D9CC7 /* MeetingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB98D2C735ED6000D9CC7 /* MeetingView.swift */; };
|
90ABB98E2C735ED6000D9CC7 /* MeetingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB98D2C735ED6000D9CC7 /* MeetingView.swift */; };
|
||||||
90ABB9902C736A8B000D9CC7 /* WaveformView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB98F2C736A8B000D9CC7 /* WaveformView.swift */; };
|
90ABB9902C736A8B000D9CC7 /* WaveformView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB98F2C736A8B000D9CC7 /* WaveformView.swift */; };
|
||||||
90ABB9932C73820D000D9CC7 /* MicrophoneView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9922C73820D000D9CC7 /* MicrophoneView.swift */; };
|
90ABB9932C73820D000D9CC7 /* MicrophoneView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9922C73820D000D9CC7 /* MicrophoneView.swift */; };
|
||||||
@@ -25,6 +24,8 @@
|
|||||||
90ABB9A32C74E1CE000D9CC7 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9A22C74E1CE000D9CC7 /* SettingsView.swift */; };
|
90ABB9A32C74E1CE000D9CC7 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9A22C74E1CE000D9CC7 /* SettingsView.swift */; };
|
||||||
90ABB9A62C74EA8A000D9CC7 /* SettingsPreference.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9A52C74EA8A000D9CC7 /* SettingsPreference.swift */; };
|
90ABB9A62C74EA8A000D9CC7 /* SettingsPreference.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9A52C74EA8A000D9CC7 /* SettingsPreference.swift */; };
|
||||||
90ABB9A82C74EAB1000D9CC7 /* SettingsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9A72C74EAB1000D9CC7 /* SettingsManager.swift */; };
|
90ABB9A82C74EAB1000D9CC7 /* SettingsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90ABB9A72C74EAB1000D9CC7 /* SettingsManager.swift */; };
|
||||||
|
90CC98B02E158093003C2706 /* PipecatClientIOSDaily in Frameworks */ = {isa = PBXBuildFile; productRef = 90CC98AF2E158093003C2706 /* PipecatClientIOSDaily */; };
|
||||||
|
90CC98B62E15820B003C2706 /* PipecatClientIOSDaily in Frameworks */ = {isa = PBXBuildFile; productRef = 90CC98B52E15820B003C2706 /* PipecatClientIOSDaily */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
@@ -73,7 +74,8 @@
|
|||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
907C98842D37E6AF0079441F /* PipecatClientIOSDaily in Frameworks */,
|
90CC98B62E15820B003C2706 /* PipecatClientIOSDaily in Frameworks */,
|
||||||
|
90CC98B02E158093003C2706 /* PipecatClientIOSDaily in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@@ -218,7 +220,8 @@
|
|||||||
);
|
);
|
||||||
name = SimpleChatbot;
|
name = SimpleChatbot;
|
||||||
packageProductDependencies = (
|
packageProductDependencies = (
|
||||||
907C98832D37E6AF0079441F /* PipecatClientIOSDaily */,
|
90CC98AF2E158093003C2706 /* PipecatClientIOSDaily */,
|
||||||
|
90CC98B52E15820B003C2706 /* PipecatClientIOSDaily */,
|
||||||
);
|
);
|
||||||
productName = SimpleChatbot;
|
productName = SimpleChatbot;
|
||||||
productReference = 90031FA32C616EE700408370 /* SimpleChatbot.app */;
|
productReference = 90031FA32C616EE700408370 /* SimpleChatbot.app */;
|
||||||
@@ -293,7 +296,7 @@
|
|||||||
);
|
);
|
||||||
mainGroup = 90031F9A2C616EE700408370;
|
mainGroup = 90031F9A2C616EE700408370;
|
||||||
packageReferences = (
|
packageReferences = (
|
||||||
907C98822D37E6AF0079441F /* XCRemoteSwiftPackageReference "pipecat-client-ios-daily" */,
|
90CC98B42E15820B003C2706 /* XCRemoteSwiftPackageReference "pipecat-client-ios-daily" */,
|
||||||
);
|
);
|
||||||
productRefGroup = 90031FA42C616EE700408370 /* Products */;
|
productRefGroup = 90031FA42C616EE700408370 /* Products */;
|
||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
@@ -682,20 +685,24 @@
|
|||||||
/* End XCConfigurationList section */
|
/* End XCConfigurationList section */
|
||||||
|
|
||||||
/* Begin XCRemoteSwiftPackageReference section */
|
/* Begin XCRemoteSwiftPackageReference section */
|
||||||
907C98822D37E6AF0079441F /* XCRemoteSwiftPackageReference "pipecat-client-ios-daily" */ = {
|
90CC98B42E15820B003C2706 /* XCRemoteSwiftPackageReference "pipecat-client-ios-daily" */ = {
|
||||||
isa = XCRemoteSwiftPackageReference;
|
isa = XCRemoteSwiftPackageReference;
|
||||||
repositoryURL = "https://github.com/pipecat-ai/pipecat-client-ios-daily/";
|
repositoryURL = "https://github.com/pipecat-ai/pipecat-client-ios-daily/";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = upToNextMajorVersion;
|
kind = upToNextMajorVersion;
|
||||||
minimumVersion = 0.3.2;
|
minimumVersion = 0.3.6;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
/* End XCRemoteSwiftPackageReference section */
|
/* End XCRemoteSwiftPackageReference section */
|
||||||
|
|
||||||
/* Begin XCSwiftPackageProductDependency section */
|
/* Begin XCSwiftPackageProductDependency section */
|
||||||
907C98832D37E6AF0079441F /* PipecatClientIOSDaily */ = {
|
90CC98AF2E158093003C2706 /* PipecatClientIOSDaily */ = {
|
||||||
isa = XCSwiftPackageProductDependency;
|
isa = XCSwiftPackageProductDependency;
|
||||||
package = 907C98822D37E6AF0079441F /* XCRemoteSwiftPackageReference "pipecat-client-ios-daily" */;
|
productName = PipecatClientIOSDaily;
|
||||||
|
};
|
||||||
|
90CC98B52E15820B003C2706 /* PipecatClientIOSDaily */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = 90CC98B42E15820B003C2706 /* XCRemoteSwiftPackageReference "pipecat-client-ios-daily" */;
|
||||||
productName = PipecatClientIOSDaily;
|
productName = PipecatClientIOSDaily;
|
||||||
};
|
};
|
||||||
/* End XCSwiftPackageProductDependency section */
|
/* End XCSwiftPackageProductDependency section */
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
{
|
{
|
||||||
|
"originHash" : "cc17f08b06def9570d775e9c6f7a8dc10d1588b98127e977c47d052abac659b7",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "daily-client-ios",
|
"identity" : "daily-client-ios",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/daily-co/daily-client-ios.git",
|
"location" : "https://github.com/daily-co/daily-client-ios.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "15804ce495780da3ec2d05ab99736315f7bfbd24",
|
"revision" : "431938db25e5807120e89e2dc5bab1c076729f59",
|
||||||
"version" : "0.28.0"
|
"version" : "0.31.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -14,8 +15,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/pipecat-ai/pipecat-client-ios.git",
|
"location" : "https://github.com/pipecat-ai/pipecat-client-ios.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "c679512e367002a1a67da85d503fec72d9b17191",
|
"revision" : "f92b5e68e56a8311f7d8ead68a7a5674843cbc40",
|
||||||
"version" : "0.3.2"
|
"version" : "0.3.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -23,10 +24,10 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/pipecat-ai/pipecat-client-ios-daily/",
|
"location" : "https://github.com/pipecat-ai/pipecat-client-ios-daily/",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "a337fe6642c52376d2f90eafcb965f5be772ce72",
|
"revision" : "8f494da903192c22c367ecf9e51248c9b651fbc6",
|
||||||
"version" : "0.3.2"
|
"version" : "0.3.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version" : 2
|
"version" : 3
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,10 +78,11 @@ class CallContainerModel: ObservableObject {
|
|||||||
self.saveCredentials(backendURL: baseUrl)
|
self.saveCredentials(backendURL: baseUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
@MainActor
|
|
||||||
func disconnect() {
|
func disconnect() {
|
||||||
self.rtviClientIOS?.disconnect(completion: nil)
|
Task { @MainActor in
|
||||||
self.rtviClientIOS?.release()
|
try await self.rtviClientIOS?.disconnect()
|
||||||
|
self.rtviClientIOS?.release()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func showError(message: String) {
|
func showError(message: String) {
|
||||||
|
|||||||
Reference in New Issue
Block a user