at-internet / atinternet-apple-sdk

AT Internet mobile analytics solution for Apple devices
http://www.atinternet.com
MIT License
25 stars 47 forks source link

Restore Xcode 11 support & other fixes #117

Closed ghugues closed 3 years ago

ghugues commented 3 years ago

Description

This pull request contains various fixes that we had to make to the version 2.23.0 of SDK before releasing our apps last week. Please consider adding them to the main repository so that we can use it again instead of our fork (which will inevitably diverge).

Going further

By digging around in this SDK I have seen some parts that could really be improved. Mainly :

nsagnett commented 3 years ago

Many thanks for the PR !

However, for others suggestions, we will check it for a rework of our sdk and it should be dangerous to refactor this kind of code because it answered to some customers use case unfortunately

Regards,

nsagnett commented 3 years ago

After some tests, your modification for getUserAgent doesn't work for the first hit

ghugues commented 3 years ago

After some tests, your modification for getUserAgent doesn't work for the first hit

You're right. Il made a terrible mistake : the timeout given to wait is not relative it's absolute (not really intuitive, but I should have tested this).

I see you've already merged the PR so here is the fix https://github.com/lemonde/atinternet-apple-sdk/commit/bf353df31eb3db8cd60de06e28349b5c9f350d43

nsagnett commented 3 years ago

Thanks again it's ok, all your changes will be integrate in the next release very soon