Commit 242f230
feat(https): iOS migration to Alamofire
* Initial plan
* Add Alamofire Swift wrappers and update TypeScript to use them
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fc9101f9-5596-43a3-ab69-ff9c48eeef06
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Fix parameter encoding in Swift wrapper and add error key constants
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fc9101f9-5596-43a3-ab69-ff9c48eeef06
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Fix request chaining in multipart POST and add migration documentation
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fc9101f9-5596-43a3-ab69-ff9c48eeef06
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Address code review feedback: fix task casting, security validation, and deprecated APIs
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fc9101f9-5596-43a3-ab69-ff9c48eeef06
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add migration summary documentation
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fc9101f9-5596-43a3-ab69-ff9c48eeef06
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Implement cleaner API names and streaming downloads for iOS
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/99200ca0-c02e-437d-bbdc-d3c5f6f221c3
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add comprehensive documentation for API improvements and streaming downloads
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/99200ca0-c02e-437d-bbdc-d3c5f6f221c3
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Fix code review issues: safe unwrapping and documentation numbering
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/99200ca0-c02e-437d-bbdc-d3c5f6f221c3
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add comprehensive API improvements summary documentation
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/99200ca0-c02e-437d-bbdc-d3c5f6f221c3
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Revert iOS to Android-like response behavior - remove downloadFilePath streaming
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/8051dbe0-1e71-4045-88d9-5e25d50ae83e
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add usage examples demonstrating iOS/Android parity behavior
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/8051dbe0-1e71-4045-88d9-5e25d50ae83e
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Implement streaming downloads for iOS GET requests
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/07e4da87-be33-46f4-872f-e397b5e6c049
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Update documentation for streaming download behavior
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/07e4da87-be33-46f4-872f-e397b5e6c049
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add comprehensive iOS streaming implementation documentation
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/07e4da87-be33-46f4-872f-e397b5e6c049
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add flow diagrams for iOS streaming implementation
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/07e4da87-be33-46f4-872f-e397b5e6c049
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add early resolution and conditional streaming support
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/7bc451f5-53da-42f8-b904-b8680baa893e
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add early resolution documentation and fix scope issue
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/7bc451f5-53da-42f8-b904-b8680baa893e
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add Q&A documentation explaining request behavior
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/7bc451f5-53da-42f8-b904-b8680baa893e
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Implement Phase 3: Conditional streaming by size threshold
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/b24160f5-a282-496c-8e1a-72b4239d4084
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add conditional streaming documentation and update memory
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/b24160f5-a282-496c-8e1a-72b4239d4084
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add implementation summary documenting all completed phases
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/b24160f5-a282-496c-8e1a-72b4239d4084
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add comprehensive Vue demo components for testing features
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/03f5d740-4e22-4369-8afc-fdfe1f2d2e57
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add FileOperations and SSLPinning demo components
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/03f5d740-4e22-4369-8afc-fdfe1f2d2e57
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Complete comprehensive Vue demo suite with all features
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/03f5d740-4e22-4369-8afc-fdfe1f2d2e57
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add comprehensive README for Vue demo suite
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/03f5d740-4e22-4369-8afc-fdfe1f2d2e57
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* chore: working on alamofire
* Fix all Alamofire 5.11.2 build errors and add threading support
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fa11e6d9-72f7-4e57-8e1a-13c2f49064cd
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Fix server trust validation for Alamofire 5.11+
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fa11e6d9-72f7-4e57-8e1a-13c2f49064cd
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Update TypeScript definitions for new Swift API signatures
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/fa11e6d9-72f7-4e57-8e1a-13c2f49064cd
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* chore: sub
* chore: fixes
* Fix session deinitialization, nil task, and Swift 6 sendable issues
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/4b252308-9e3b-4ecf-ba98-32f702b528f0
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* chore: buid fix
* fix: default size threshold
* Update AlamofireWrapper to use request IDs and NSHTTPURLResponse
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/b7e39983-090a-48a9-b8d2-1f08682e72e0
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Update request.ios.ts to use request IDs and NSHTTPURLResponse
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/b7e39983-090a-48a9-b8d2-1f08682e72e0
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add interceptor imports and application support for iOS
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/b7e39983-090a-48a9-b8d2-1f08682e72e0
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Update AlamofireWrapper upload/download methods to use request IDs and NSHTTPURLResponse
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/cb3011ae-c8b8-4453-9b0e-af75b9bb74ce
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Update TypeScript typings and remove responseSerializer.deserialize calls
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/cb3011ae-c8b8-4453-9b0e-af75b9bb74ce
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Remove useLegacy parameter and update upload methods in request.ios.ts
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/cb3011ae-c8b8-4453-9b0e-af75b9bb74ce
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Update downloadToTemp calls to use new signatures
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/cb3011ae-c8b8-4453-9b0e-af75b9bb74ce
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* chore: tsc
* chore: cleanup
* Fix session deinitialization and add @objc interceptor wrappers
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/d2d9c53a-efe5-4696-a2aa-b293851b2169
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Add documentation for interceptor and event monitor wrappers
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/d2d9c53a-efe5-4696-a2aa-b293851b2169
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* Fix parallel request cancellation - don't cancel on session recreation
Agent-Logs-Url: https://github.com/nativescript-community/https/sessions/2b5c5424-6294-4897-9330-fba1baeec171
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
* chore: alamofire working
* chore(ios): swift 6 support
* chore: cleanup
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>
Co-authored-by: Martin Guillon <dev@akylas.fr>1 parent 8c9bd39 commit 242f230
35 files changed
Lines changed: 11220 additions & 334 deletions
File tree
- demo-snippets
- App_Resources/iOS
- vue
- docs
- packages/https/platforms/ios
- src
- src/https
- typings
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments