Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnect and reconnect stream on background #204

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion XMTPiOSExample/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PODFILE CHECKSUM: e82385142d41677b470dd3362d25b239b9c3621c

COCOAPODS: 1.12.1
COCOAPODS: 1.14.3
77 changes: 77 additions & 0 deletions XMTPiOSExample/XMTPiOSExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
A6C0F3862AC1E549008C6AA7 /* Data.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6C0F3852AC1E549008C6AA7 /* Data.swift */; };
A6D192D0293A7B97006B49F2 /* ConversationListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6D192CF293A7B97006B49F2 /* ConversationListView.swift */; };
A6E774162B154CF000F01DFF /* XMTP in Frameworks */ = {isa = PBXBuildFile; productRef = A6E774152B154CF000F01DFF /* XMTP */; };
C13CD1CA3A2C3E64BFEA427C /* Pods_XMTPiOSExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 076720F1CA64F2858C4BD14E /* Pods_XMTPiOSExample.framework */; };
E613B7204F3AB6E0F2D78529 /* Pods_NotificationService.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C5E1AFE96305546C0CEA1D /* Pods_NotificationService.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -68,6 +70,11 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
076720F1CA64F2858C4BD14E /* Pods_XMTPiOSExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_XMTPiOSExample.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3191508CEB23D7A6D616F4E1 /* Pods-XMTPiOSExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XMTPiOSExample.release.xcconfig"; path = "Target Support Files/Pods-XMTPiOSExample/Pods-XMTPiOSExample.release.xcconfig"; sourceTree = "<group>"; };
3D29AC38BB90CB2A04D2E4D7 /* Pods-XMTPiOSExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XMTPiOSExample.debug.xcconfig"; path = "Target Support Files/Pods-XMTPiOSExample/Pods-XMTPiOSExample.debug.xcconfig"; sourceTree = "<group>"; };
47170F865733F9BD4A7CCF14 /* Pods-NotificationService.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotificationService.debug.xcconfig"; path = "Target Support Files/Pods-NotificationService/Pods-NotificationService.debug.xcconfig"; sourceTree = "<group>"; };
6CD71B46527F4C80D1352D67 /* Pods-NotificationService.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotificationService.release.xcconfig"; path = "Target Support Files/Pods-NotificationService/Pods-NotificationService.release.xcconfig"; sourceTree = "<group>"; };
A60FC8BE293AD054001697E3 /* MessageComposerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageComposerView.swift; sourceTree = "<group>"; };
A60FC8C0293AD171001697E3 /* ConversationDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConversationDetailView.swift; sourceTree = "<group>"; };
A60FC8C2293AD18A001697E3 /* PreviewClientProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreviewClientProvider.swift; sourceTree = "<group>"; };
Expand All @@ -94,6 +101,7 @@
A6C0F3852AC1E549008C6AA7 /* Data.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Data.swift; sourceTree = "<group>"; };
A6D192CF293A7B97006B49F2 /* ConversationListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConversationListView.swift; sourceTree = "<group>"; };
A6E774192B154D1E00F01DFF /* xmtp-ios */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "xmtp-ios"; path = ..; sourceTree = "<group>"; };
B3C5E1AFE96305546C0CEA1D /* Pods_NotificationService.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NotificationService.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -110,6 +118,7 @@
A69F33C6292DC992005A5556 /* XMTP in Frameworks */,
A6C0F37B2AC1E321008C6AA7 /* Starscream in Frameworks */,
A65F070A297B5E8600C3C76E /* KeychainAccess in Frameworks */,
C13CD1CA3A2C3E64BFEA427C /* Pods_XMTPiOSExample.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -119,12 +128,24 @@
files = (
A6AE5194297B62C8006FDD0F /* KeychainAccess in Frameworks */,
A6AE5191297B625F006FDD0F /* XMTP in Frameworks */,
E613B7204F3AB6E0F2D78529 /* Pods_NotificationService.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
07F1F161F3E60D564A26684F /* Pods */ = {
isa = PBXGroup;
children = (
47170F865733F9BD4A7CCF14 /* Pods-NotificationService.debug.xcconfig */,
6CD71B46527F4C80D1352D67 /* Pods-NotificationService.release.xcconfig */,
3D29AC38BB90CB2A04D2E4D7 /* Pods-XMTPiOSExample.debug.xcconfig */,
3191508CEB23D7A6D616F4E1 /* Pods-XMTPiOSExample.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
A6281986292DC825004B9117 = {
isa = PBXGroup;
children = (
Expand All @@ -133,6 +154,7 @@
A6AE5181297B61AE006FDD0F /* NotificationService */,
A6281990292DC825004B9117 /* Products */,
A69F33C4292DC992005A5556 /* Frameworks */,
07F1F161F3E60D564A26684F /* Pods */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -183,6 +205,8 @@
A69F33C4292DC992005A5556 /* Frameworks */ = {
isa = PBXGroup;
children = (
B3C5E1AFE96305546C0CEA1D /* Pods_NotificationService.framework */,
076720F1CA64F2858C4BD14E /* Pods_XMTPiOSExample.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -228,6 +252,7 @@
isa = PBXNativeTarget;
buildConfigurationList = A628199E292DC826004B9117 /* Build configuration list for PBXNativeTarget "XMTPiOSExample" */;
buildPhases = (
B508F44B5015A157BE78A7AE /* [CP] Check Pods Manifest.lock */,
A628198B292DC825004B9117 /* Sources */,
A628198C292DC825004B9117 /* Frameworks */,
A628198D292DC825004B9117 /* Resources */,
Expand Down Expand Up @@ -258,6 +283,7 @@
isa = PBXNativeTarget;
buildConfigurationList = A6AE5188297B61AE006FDD0F /* Build configuration list for PBXNativeTarget "NotificationService" */;
buildPhases = (
9DCEED4B8300ECFB04308A62 /* [CP] Check Pods Manifest.lock */,
A6AE517C297B61AE006FDD0F /* Sources */,
A6AE517D297B61AE006FDD0F /* Frameworks */,
A6AE517E297B61AE006FDD0F /* Resources */,
Expand Down Expand Up @@ -338,6 +364,53 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
9DCEED4B8300ECFB04308A62 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-NotificationService-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
B508F44B5015A157BE78A7AE /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-XMTPiOSExample-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
A628198B292DC825004B9117 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -495,6 +568,7 @@
};
A628199F292DC826004B9117 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D29AC38BB90CB2A04D2E4D7 /* Pods-XMTPiOSExample.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
Expand Down Expand Up @@ -536,6 +610,7 @@
};
A62819A0292DC826004B9117 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3191508CEB23D7A6D616F4E1 /* Pods-XMTPiOSExample.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
Expand Down Expand Up @@ -576,6 +651,7 @@
};
A6AE5189297B61AE006FDD0F /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 47170F865733F9BD4A7CCF14 /* Pods-NotificationService.debug.xcconfig */;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
CODE_SIGN_STYLE = Automatic;
Expand Down Expand Up @@ -604,6 +680,7 @@
};
A6AE518A297B61AE006FDD0F /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 6CD71B46527F4C80D1352D67 /* Pods-NotificationService.release.xcconfig */;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
CODE_SIGN_STYLE = Automatic;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading