Since there are more and more jailbreaks being created by hobbyists, each with their own respective quirks, you may have to change the behavior of your tweak / packaging depending on the jailbreak installed on the user's device.
None of this advice is foolproof but it's worth taking into consideration.
Hidden files
Legitimate Jailbreaks
Jailbreak | Path |
---|---|
Electra (11.1.2) | /.electra_installed
|
Electra (11.3.1) | /.electra_installed
|
unc0ver | /.installed_unc0ver
|
Meridian | /.meridian_installed
|
"Fake" Jailbreaks
It's probably not worth supporting these. These jailbreaks are redundant and, arguably, harm the jailbreak community by merely existing.
If anything, you should have a warning letting users know something's wrong.
Jailbreak | Path |
---|---|
th0r | /.bootstrapped_Th0r
|