You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amplitude v7.0.0 added location block for providing user location manually. But location isn't available instantaneously. For some moment location will be unknown. But new added location block doesn't mark it nullable however it checks for nil while accepting it. Can't return nil in swift
@haoliu-amp would it be possible to call out breaking changes in future release notes? This caused a breaking change in our application and we had to dig through the PR/code to get an understanding of exactly what went wrong.
Summary
Amplitude v7.0.0 added location block for providing user location manually. But location isn't available instantaneously. For some moment location will be unknown. But new added location block doesn't mark it nullable however it checks for nil while accepting it. Can't return nil in swift
Amplitude-iOS/Sources/Amplitude/Amplitude.h
Line 32 in d7f81d3
Amplitude-iOS/Sources/Amplitude/Amplitude.m
Lines 664 to 669 in d7f81d3
Proposed
The text was updated successfully, but these errors were encountered: