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
Thank you for the feedback and definitely a valid point. 👍
When it comes to platform specific methods (including the getters you have mentioned), with v5 we have also made them to run only on the platform they semantically belong to. But yes, we will document in the migration guide that iOS platform specific getters will no longer return anything if invoked from Android platform and vice versa.
Maybe also a question for you: Do you see any value in getting undefined or some invalid value when invoking iOS getters from Android platform or does having the platform specific execution sound better?
Yes this should be documented. I was using requestTrackingAuthorizationWithCompletionHandler without platform checking. I was continuing app init in handler method.
Activity
uerceg commentedon Sep 11, 2024
Hey @Titozzz,
Thank you for the feedback and definitely a valid point. 👍
When it comes to platform specific methods (including the getters you have mentioned), with v5 we have also made them to run only on the platform they semantically belong to. But yes, we will document in the migration guide that iOS platform specific getters will no longer return anything if invoked from Android platform and vice versa.
Maybe also a question for you: Do you see any value in getting
undefinedor some invalid value when invoking iOS getters from Android platform or does having the platform specific execution sound better?Titozzz commentedon Sep 11, 2024
I'm honestly fine with both.
AuroPick commentedon Oct 18, 2024
Yes this should be documented. I was using
requestTrackingAuthorizationWithCompletionHandlerwithout platform checking. I was continuing app init in handler method.