Rollout.io Support Site

Welcome to the Rollout.io Support. You'll find comprehensive guides and documentation to help you start working with Rollout.io as quickly as possible, as well as support if you get stuck. Let's jump right in!

Support    

Templated vs JavaScript Patches

Rollout let's you patch live native iOS apps. When creating a patch, you first choose the method you want to patch, and then have two options on how to modify the functionality or logic of that method:

Template based
Template based patches have fixed options as to what you can modify in a method such as replacing input arguments or return values.

JavaScript
JavaScript patches do not have any limits on what the patch can do. You can write your own JavaScript code that fully interacts with any existing code in your app.

Template patches

Template Based Patches
Template based patches have fixed options as to what you can modify in a method. These options are:

Furthermore you can conditionally execute the patch based on method input values or device data.
Here is an example of a Template based patch:

Example Template Patch

Example Template Patch

JavaScript patches

JavaScript patches remove any limits as to what the patch can do. In addition to all of the capabilities of Template patches, JavaScript patches allow you to write JavaScript code that can interact with any of your existing code. For more info, see Getting started with JavaScript

Here is an example JavaScript patch:

Example JavaScript Patch

Example JavaScript Patch

Templated vs JavaScript Patches