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

debug test__030__Presence__enter__optionally_a_callback_can_be_provid… #1980

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1540"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Ably.xcodeproj/xcshareddata/xcschemes/Ably-iOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Ably.xcodeproj/xcshareddata/xcschemes/Ably-macOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Ably.xcodeproj/xcshareddata/xcschemes/Ably-tvOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1540"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
1 change: 1 addition & 0 deletions Source/ARTPresenceMessage.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ - (BOOL)isEqualToPresenceMessage:(ARTPresenceMessage *)presence {
return nil;
}
NSArray<NSString *> *idParts = [self.id componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@":"]];
NSLog(@"AMNON idParts is %@", idParts);
if (idParts.count != 3) {
[ARTException raise:ARTPresenceMessageException format:ARTAblyMessageInvalidPresenceId, self.id];
}
Expand Down
2 changes: 2 additions & 0 deletions Test/Tests/RealtimeClientPresenceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,8 @@ class RealtimeClientPresenceTests: XCTestCase {
let test = Test()
let options = try AblyTests.commonAppSetup(for: test)
options.clientId = "john"
options.logLevel = .debug
options.useBinaryProtocol = false

let client1 = ARTRealtime(options: options)
defer { client1.dispose(); client1.close() }
Expand Down
Loading