iOS: Add early resolution and conditional streaming for GET requests#108
Draft
iOS: Add early resolution and conditional streaming for GET requests#108
Conversation
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>
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>
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>
…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>
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>
Copilot
AI
changed the title
[WIP] Migrate iOS implementation from AFNetworking to Alamofire
Migrate iOS implementation from AFNetworking to Alamofire
Mar 29, 2026
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>
…wnloads 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>
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>
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>
Copilot
AI
changed the title
Migrate iOS implementation from AFNetworking to Alamofire
Improve iOS API with clean method names and memory-efficient streaming downloads
Mar 29, 2026
…h 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>
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>
Copilot
AI
changed the title
Improve iOS API with clean method names and memory-efficient streaming downloads
Align iOS response handling with Android: load data in memory for post-request processing
Mar 29, 2026
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>
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>
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>
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>
Copilot
AI
changed the title
Align iOS response handling with Android: load data in memory for post-request processing
Implement streaming downloads for iOS GET requests using temp file approach
Mar 29, 2026
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>
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>
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>
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>
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>
…d 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>
…alls 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>
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>
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>
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>
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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix Parallel Request Cancellation Issue
Problem:
When running multiple requests in parallel, they were getting cancelled during session recreation. This happened because
recreateSession()was cancelling all active requests.Checklist:
Remove Request Cancellation:
recreateSession()Test:
Changes:
Before:
recreateSession()cancelled all active requests when creating a new sessionAfter:
recreateSession()does NOT cancel active requests⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.