The reason f.lux sideloaded app got pulled is because they didn't release their source code. Instead, f.lux relied on loading/patching a binary that bypassed some of iOS security features and could load unsigned binarys (read: it could then run pirated apps).