*What*
With master version of [ aerogear-app-metrics |https://github.com/aerogear/aerogear-app-metrics/commit/5d42dc445f5712561a9ab59e5144dc400873ee75] , when the metrics data is (app & device info) are sent from iOS app, the data they are successfully saved, but the error is thrown in the console
{code} 2018-03-07 16:41:28.755 [Debug] [MetricsNetworkPublisher.swift:18] publish > Sending metrics ["timestamp": 1520437288754, "clientId": 5F766958-56E8-44E5-A9CA-84BD7EBF3FFC, "data": ["device": ["platformVersion": "11.2", "platform": "ios", "device": "iPhone"], "app": ["appVersion": 1.0, "sdkVersion": "DEVELOPMENT", "appId": org.aerogear.AeroGearSdkExample]]] 2018-03-07 16:41:29.111 [Error] [MetricsNetworkPublisher.swift:21] publish > An error has occurred when sending app metrics: responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.inputDataNilOrZeroLength) {code}
I think this might have something to do with the newest changes on app-metrics, when recently only the statuscode is returned back to client app after data is saved
ping [~wtrocki] [~danielpassos] |
|