mirror of
https://github.com/ProxymanApp/atlantis.git
synced 2026-04-26 08:26:04 +03:00
[PR #91] [MERGED] Rewrite WebSocket Swizzling in Swift #140
Labels
No labels
Done
Done
Windows
bug
bug
bug
enhancement
enhancement
enhancement
good first issue
hacktoberfest
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/atlantis#140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ProxymanApp/atlantis/pull/91
Author: @VaslD
Created: 11/29/2021
Status: ✅ Merged
Merged: 12/14/2021
Merged by: @NghiaTranUIT
Base:
main← Head:support/no-objc📝 Commits (3)
0cb291eRewrite WebSocket swizzling in Swift.91c61b0Fix Swift Package dependencies.6cdace4Fix CocoaPod sources.📊 Changes
7 files changed (+83 additions, -83 deletions)
View changed files
➖
Objc/AtlantisHelper.h(+0 -18)➖
Objc/AtlantisHelper.m(+0 -35)➖
Objc/internal/Header.h(+0 -13)📝
Package.swift(+1 -5)➕
Sources/AtlantisHelper.swift(+80 -0)📝
Sources/NetworkInjector+URLSession.swift(+1 -10)📝
atlantis-proxyman.podspec(+1 -2)📄 Description
Long story short, I was trying to convert all my third-party dependencies to XCF to speed up internal testing, and Atlantis having two targets just to swizzle a NSURLSession WebSocket method really makes things complicated.
So I rewrote the swizzling in (not so pure) Swift, and made Atlantis one target (thus one simple XCF).
Not sure if this helps, or if even goes against the original purpose of the Objective-C module. But I tested the code on Simulator and hardwired device with the latest Proxyman and Demo app, and it looked good.
If needed I'll do more physical device tests tomorrow with real apps.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.