Open eMdOS opened 4 years ago
Thanks @eMdOS for reporting this issue. Would you please provide the version of the SDK you are using? Thanks
I was able to reproduce the crash. It is not related to the SDK. You can pass nil to the method
public func withDataDome(_ sdk: DataDomeSDK.DataDomeSDK?) -> Self
As the sdk parameter is optional and the request will succeed. I have committed some changes to the app to avoid the crash. Make sure to
git pull
and
pod install
Thanks
In real projects, the issues persist, it produces an EXC_BADACCESS in `DataDomeSDKHandler.retry(:for:dueTo:completion:)when passing
nilto
withDataDome(_:)`:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_TtGCs23_ContiguousArrayStorageCSo23NSURLSessionTaskMetrics_$ allHeaderFields]: unrecognized selector sent
Thanks @eMdOS for reporting this. Would you please provide the configuration your are using:
Thanks
According to the function signature, it can receive a
nil
:...but, when passing a
nil
it produces the following crash:Info
Podfile (same as the sample app):
iOS Version: 10 Xcode: 11.5 (11E608c)