Testing iOS SDK Integration

Introduction

Testing your SDK integration is performed simply by using AppsFlyer’s dedicated SDK Integrations Tests page.  It covers testing Non-Organic Installs, In App Events, and Deeplinking.  

This articles guides you through the process of testing you SDK Integration.

Testing SDK Integration

  1. Use an iOS device that does not have your app installed, if the app is already installed, uninstall the application first.  
  2. It is required to test the SDK Integration on a whitelisted test device. To whitelist your test device, follow the steps here: Whitelist a Device.
  3. Open your AppsFlyer dashboard and chose the app you are testing.  Select SDK Integration Tests from the Navigation Menu.
  4. You are presented with three options to test:

Follow the instructions below to test the required SDK integration:

Testing Non-Organic Install
  1. Select one of your whitelisted devices from the dropdown list
  2. Select where you are installing the app from (App Store, XCode, or TestFlight)
  3. Scan the generated QR code with your whitelisted test device and follow the instructions on your device.
  4. Wait until the the Non-Organic Install is registered in the Integration Test page indicating the test was successful.  This can take up to 2 minutes.  If the app did not register a Non-Organic install by this time, refer to the troubleshooting that appears in the Integration Test page.
Testing In-App Events
  1. Select one of your whitelisted test devices from the drop down menu and click Next.
  2. Open your app and start generating in app events.
  3. You will see a log of these events as they are registered in real time.  
Testing Deeplinks
  1. OneLink must be defined for your app in order to test Deep Linking.  Refer to our OneLink guide here.  It is important to note that the SDK Deeplinking implementation is mandatory, as outlined in iOS SDK Integration Guide, here.
  2. Verify the re-targeting toggle is turned on. 
  3. Select one of your whitelisted test devices from the drop down menu and click Next.
  4. The first test checks Universal Links. Scan the QR code with your whitelisted test device and follow the instructions on your device.
  5. The second test checks Scheme URL. Scan the QR code with your whitelisted test device and follow the instructions on your device.
  6. After these two tests are completed, the Deep Linking Test is registered as successful.
Was this article helpful?
0 out of 3 found this helpful