Alamofire GET/POST example of log network events

Document ID : KB000115245
Last Modified Date : 18/09/2018
Show Technical Document Details
Introduction:
It has been observed that there can be conflicts with the Alamofire HTTP framework when monitoring Swift apps using the CA AXA iOS SDK.
There is impact on authentication, caching and redirection, amongst other features.
To ensure the functionality of the app, it is required to disable network swizzling.

We are providing suggestions on how the network calls may be monitored in a custom manner
 
Instructions:
The attached file contains an example of how both GET and POST requests issued using Alamofire framework might be monitored using the iOS SDK
Additional Information:
Link to documentation of SDK options where you can configure to turn off network swizzling (SDKNoNetworkSwizzling )
https://docops.ca.com/ca-app-experience-analytics/17-3/en/configuring/collect-data-from-ios-applications#CollectDataFromiOSApplications-InitializeSDKOptionstoInitializeSDK
File Attachments:
Alamofire_swifit_vw_example.zip