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
In the latest SDK version (6.12.2), the class AppsflyerSdk has some initialization logic in the initSdk() method, but it also takes options as an argument. Additionally, AppsflyerSdk is a singleton. This logic leads to calls like AppsflyerSdk(null) every time after the object AppsflyerSdk is created. Also it is not obvious why calls like AppsflyerSdk([anyOtherAppsflyerOptions]) return the same instance of AppsflyerSdk. Please consider moving the logic for passing options to the initSdk() method.
To avoid this issue I need to wrap AppsflyerSdk in wrappers like this.
In the latest SDK version (6.12.2), the class AppsflyerSdk has some initialization logic in the initSdk() method, but it also takes options as an argument. Additionally, AppsflyerSdk is a singleton. This logic leads to calls like AppsflyerSdk(null) every time after the object AppsflyerSdk is created. Also it is not obvious why calls like AppsflyerSdk([anyOtherAppsflyerOptions]) return the same instance of AppsflyerSdk. Please consider moving the logic for passing options to the initSdk() method.
To avoid this issue I need to wrap
AppsflyerSdk
in wrappers like this.The text was updated successfully, but these errors were encountered: