Leanplum / Leanplum-Android-SDK

Leanplum's integrated solution delivers meaningful engagement across messaging and the in-app experience.
https://www.leanplum.com
Apache License 2.0
46 stars 40 forks source link

Fix Leanplum.hasStarted to be true when device is offline #439

Closed hborisoff closed 3 years ago

hborisoff commented 3 years ago
What Where/Who
JIRA Issue SDK-148
People Involved @hborisoff

Background

Leanplum.hasStarted() was always false if device is offline. Now it will become true when start sequence is executed. Note that StartCallback objects will receive false success flag when Util.isConnected() fails. This behaviour is the same in iOS.