Alamofire GET/POST example of log network events
search cancel

Alamofire GET/POST example of log network events

book

Article ID: 115245

calendar_today

Updated On:

Products

CA App Experience Analytics

Issue/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
 

Environment

Release: AXCUMP56500-17.3-App Experience Analytics-Consumer End Users-MSP
Component:

Resolution

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

Attachments

1558536825834Alamofire_swifit_vw_example.zip get_app