Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4a11b64

Browse files
authoredJan 22, 2024
refactor: Realtime V2 (supabase#214)
* feat: add EventType to Realtime Message * refactor: rename Message to RealtimeMessage * feat: add callback manager * feat: implement onMessage handler * refactor realtime based on Kotlin library * wip * Fix Realtime connection * Add Sendable conformances and make classes thread safe * Rename v2 types * Fix Realtime tests * Fix leaks * add _Presence type * block task until subscribed * wip * Make Realtime and Channel Actors * wip slack clone example * Fix tests * Rename Realtime to RealtimeClientV2 * fix: pending heartbeat check * Remove AuthTokenProvider * wip * Remove Combine * Remove OSLog as it doesn't support non-Apple platform * Import FoundationNetworking * Integrate SupabaseLogger * Fix Realtime access token and improve slack clone example * wip * Test * test: realtime connect and subscribe * Import Dispatch * Remove NSEC_PER_SEC since non-Darwin don't have it * Trying to fix build on Linux * ci: use Xcode 15.2 * Comment out failing test * Add local supabase instance for SlackClone * Add visionOS support for SlackClone example * Add migration guide
1 parent 7288685 commit 4a11b64

File tree

67 files changed

+4358
-527
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+4358
-527
lines changed
 

‎Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Use an official Swift runtime as a base image
2+
FROM swift:latest
3+
4+
# Set the working directory to /app
5+
WORKDIR /app
6+
7+
# Copy the entire content of the local directory to the container
8+
COPY . .
9+
10+
# Build the Swift package
11+
RUN swift build
12+
13+
# Run tests
14+
CMD ["swift", "test"]
15+

‎Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 212 additions & 160 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.