should Get Assignments
fun shouldGetAssignments(isLoggedIn: Boolean, neverCalledStaticConfig: Boolean, isFirstAppOpen: Boolean): Boolean(source)
Logic to figure out whether to get assignments before firing triggers.
The logic is:
If is logged in to account that existed PRE static config, get assignments.
If anonymous, is NOT first app open since install, and existed PRE static config, get assignments.
If logged in POST static config, don't get assignments.
If anonymous, is NOT first app open since install, and existed POST static config, don't get assignments.
If anonymous, IS first app open since install, existed PRE static, don't get assignments.
If anonymous, IS first app open since install, existed POST static, don't get assignments.