I think that the good approach to read important values in Swift dictionary with the specific keys is using the constants, for example when I need to access the status (organic or non-organic) value and check if the first launch with respective keys: "af_status" and "is_first_launch" in installData param I don't use any variable/constant to find this data.
We can implement something like this to the data keys and check status value:
And if the Appsflyer needs to change the keys, it'll not a problem for us that use the sdk because we use the constant to read the data receive.
This issue has been inactive for a while, and will now be closed due to inactivity. If you still believe this is a valid issue, please feel free to reopen it or create a new issue with updated information.
I'm checking the sample page to read data in
onConversionDataReceive
foriOS
in this URL: https://support.appsflyer.com/hc/en-us/articles/207032096-Deferred-deep-linking-getting-the-conversion-data#sdk-implementation.I think that the good approach to read important values in Swift dictionary with the specific keys is using the constants, for example when I need to access the status (organic or non-organic) value and check if the first launch with respective keys:
"af_status"
and"is_first_launch"
in installData param I don't use any variable/constant to find this data.We can implement something like this to the data keys and check status value:
And if the Appsflyer needs to change the keys, it'll not a problem for us that use the sdk because we use the constant to read the data receive.