Breaking Change moving from 2.1.2 to 2.2.0
Closed this issue · 3 comments
farmer-dhi commented
Describe the bug
Version 2.1.2 has the method delayInitToCheckForSearchAds()
which was removed in 2.2.0. This has broken my build, and it's not clear what I should replace it with (if anything).
Steps to reproduce
- Create a new project and install Branch v2.1.2
- use the method delayInitToCheckForSearchAds()
- Update to Branch v2.2.0
- Attempt to build project
EXPECTED: Build succeeds
ACTUAL: Build fails
Expected behavior
I expected a non-major version change to allow my project to build without needing changes from me.
SDK Version
2.2.0
XCode Version
14.3
Device
Simulator
OS
16.4
Additional Information/Context
No response
jf-branch commented
Hi @farmer-dhi, the Apple API that delay check was used for has been deprecated and therefore the delay is no longer needed. You can remove that line of code.
farmer-dhi commented
Thank you, I will do so :)
sfoulston commented
Just found this as well - it would be great if the explanation / migration notes for breaking changes like this could be documented in the release notes 🙏