Setup (iOS)

Pre-Install

Before reporting unused code, make sure you have uploaded your app to Emerge (with the same version number that you are testing with). Uploading initializes the Reaper backend for your app, so it is ready to receive events.

❗

Reaper's API key is different from the Emerge API key

The Reaper API key is a standalone key that is used with the SDK to associate requests with your Emerge account. This is different from the Emerge API key used to upload builds. You can find your Reaper API key on a Reaper build page or in Emerge's settings.

Installation

For details on installing and setting up Reaper, see the GitHub repository https://github.com/EmergeTools/Reaper

Testing

Once reaper is initialized, background the app to report used types. To confirm it worked, you can monitor network requests from the device for a request to https://api.emergetools.com/report.

Using Reaper Data

Reaper shows unused types and is organized by the module. When available, types are shown in the specific file they are found in.