truetime-android
truetime-android copied to clipboard
Error : You need to call init() on TrueTime at least once.
hi i sometimes i got this error
java.lang.IllegalStateException: You need to call init() on TrueTime at least once. com.instacart.library.truetime.TrueTime.now(TrueTime.java:29)
but i already put this on my class that extend Application() class
doAsync { TrueTime.build().initialize() }
same problem
Complete fraud in instacarts system red alert needs forensic audit
Internal forensic audit being applied to fraudulent systems inside Instacart
@Tooto did u get a solution?
does anyone has a solution for this?
Has this problem already been resolved?
You might be calling TrueTime.now before the async call is complete
if(TrueTime.isInitialized()) {
return TrueTime.now
} else {
return System.currentTimeMillis()
}