ActIf 2 brings conditional statement support to Activator

To say Activator is a useful tool for jailbreakers is an understatement; the popular extension is by far one of the most powerful tools ever designed for jailbroken devices, and its popularity today is a testament to how the classics never die.

Despite how useful it is out of the box, you can now make it even more powerful with a new jailbreak tweak dubbed ActIf 2 by iOS developer Jay Zuerndorfer, which adds support for conditional statements.

A conditional statement basically checks to see if something is true or not and then takes action based on the result; it’s an if/then statement.

If the statement proves to be true, then the tweak carries out function A. If the statement proves to be false, then the tweak carries out function B instead. The functions can be added via a new app that gets added to the Home screen:

Among the things you can create conditional statements for are:

  • If Bluetooth devices are connected to your handset
  • If handset is connected to a power source
  • If an app is running in the foreground
  • If headphones are connected
  • If music is playing
  • If the mute switch is toggled
  • If handset’s orientation is switched
  • If handset is connected to Wi-Fi
  • If handset connects to a specific Wi-Fi network
  • And more to come…

You can add the ones you want by using the “+” button at the top left of the app, and then you will have to respring your device using the respring button at the bottom of the app. Once added, you can visit the Activator app and you should see all of your new conditional events:

Once here, you can assign Activator actions to your events, which take effect when triggered.

A few examples of how ActIf 2 could be used include:

  • If you’re connected to a power source, use Activator to long-press the Home button to disable Low Power Mode. Otherwise, long-pressing the Home button does nothing until you connect to a power source.
  • If you’re connected to a Wi-Fi network, use Activator to double-tap on the Status Bar to disable cellular data. Otherwise, tapping on the Status Bar does nothing until you connect to a Wi-Fi network.
  • If music is playing, use Activator to allow the volume up button to move to the next track. Otherwise, the volume button will continue to adjust volume as usual.

A host of possibilities exist for ActIf 2, and it just comes down to your setup skills and imagination. You can use the developer’s Read Me page on GitHub for help and detailed instructions for use.

ActIf 2 is also extensible, which means other jailbreak developers who demand more functionality from ActIf 2 can freely create new extensions for it.

Overall, it looks to be a solid and exciting release for power users who want more control over their device. If you want to give ActIf 2 a try, you can download it for free from Cydia’s BigBoss repository.

ActIf 2 is compatible with jailbroken iOS 9 and iOS 10 devices and requires Activator to be installed to work. The developer has also open-sourced the tweak on GitHub for anyone interested in learning more about ActIf 2 or creating extensions to go along with it.

Do you like the concept behind ActIf 2? Share in the comments below!