issues
search
CleverTap
/
clevertap-android-sdk
CleverTap Android SDK
MIT License
80
stars
74
forks
source link
Bug/dream11 null device
#575
Closed
CTLalit
closed
8 months ago
CTLalit
commented
8 months ago
https://wizrocket.atlassian.net/browse/SDK-3671
fixed init of variables in class first before using them in deviceInfo
did not use device id from state variable (shared pref map)
instead passed device id back from func as it is created on fly
this reduces risk of state variable changing over time as it is accessed in future
simplified ternary as it would always return null in both cases
the device id passed as method return type to be used
did not fetch device id from state (shared pref map)
https://wizrocket.atlassian.net/browse/SDK-3671