I had a slight issue, not related to the library i...
# announcements
d
I had a slight issue, not related to the library itself, but to me being clever 🙂 This ABP-version has a call which initializes timezone database
AndroidThreeTen.init()
, and it could take potentially a long time. Usually you do it in
MyApplication.onCreate()
, but I decided to wrap it in Observable to do it off the main thread and so that UI could load faster (I have an architected mechanizm for that sort of things). So one of my activities forgot to rely on this mechanism and used
LocalDate.now()
without waiting for a signal that that observable has completed - and on some devices there were crashes, because no timezones were loaded. Mainly devices in non utc or exotic timezones. So be careful about how you initialize ThreeTenABP, if you do that async.