You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Better performance on memory-constrained devices
156
+
- Progress tracking during download
157
+
- Automatic file path creation
158
+
159
+
### Cleaner API Methods
160
+
All Swift wrapper methods now use simplified, more intuitive names:
161
+
-`request()` instead of `dataTaskWithHTTPMethod...`
162
+
-`uploadMultipart()` instead of `POSTParametersHeaders...`
163
+
-`uploadFile()` instead of `uploadTaskWithRequestFromFile...`
164
+
-`uploadData()` instead of `uploadTaskWithRequestFromData...`
165
+
119
166
## API Compatibility
120
167
121
-
The TypeScript API remains **100% compatible** with the previous AFNetworking implementation. No changes are required in application code that uses this plugin.
168
+
The TypeScript API remains **100% compatible** with the previous AFNetworking implementation. No changes are required in application code that uses this plugin. New features are opt-in through additional options.
122
169
123
170
## Testing Recommendations
124
171
@@ -139,7 +186,13 @@ After upgrading, test the following scenarios:
139
186
- Multiple files in multipart form
140
187
- Large file uploads with progress tracking
141
188
142
-
4.**Progress Callbacks**
189
+
4.**File Downloads**
190
+
- Small file downloads (traditional method)
191
+
- Large file downloads with streaming (using `downloadFilePath`)
0 commit comments