Testing AppsFlyer iOS SDK Integration from the App's Dashboard

Introduction

AppsFlyer provides a dedicated SDK Integrations Tests page to test the integration of your app with our iOS SDK.

Using the iOS SDK Integration test page, you can track integration issues in your project. You can test installs, in-app events and deeplinking.

Testing SDK Integration

This article guides you through the process of testing your SDK Integration.

  1. Use an iOS device that does not have your app installed - if the app is already installed, uninstall the app first.
  2. It is required to test the SDK Integration on a whitelisted test device. To whitelist your test device, follow the steps here.

     Tip

    If you use TestFlight to install the app, there is no need to whitelist the device.

  3. Open your AppsFlyer account and choose 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 Installs

  1. Click on Run test under In-app Events.
  2. Select one of your whitelisted devices from the dropdown list.
  3. Select where you are installing the app from (App Store, XCode, or TestFlight).
  4. Scan the generated QR code with your whitelisted test device and follow the instructions on your device.
  5. Wait until the non-organic install is registered in the SDK Integration Test page indicating the test is successful. This can take up to 2 minutes.

    sdk_testing_install_success.png

    If the app does not register a non-organic install by that time, refer to the troubleshooting section that appears in the SDK Integration Test page.

    sdk_testing_troubleshooting.png

Testing In-App Events

  1. Click on Run test under Non-Organic Install
  2. Select one of your whitelisted test devices from the drop down menu and click Next.
  3. Open your app and start generating in-app events.
  4. You will see a log of these events as they are registered in real time.

    sdk_testing_in_app_events.png

Testing Deep Links

  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 Deep Linking implementation is highly recommended, as outlined in iOS SDK Integration Guide, here.
  2. Verify the retargeting toggle is turned on.
  3. Click on Run test under Deeplinking
  4. Select one of your whitelisted test devices from the drop down menu and click Next.
  5. The first test checks Universal Links. Scan the QR code with your whitelisted test device and follow the instructions on your device.
  6. The second test checks Scheme URL. Scan the QR code with your whitelisted test device and follow the instructions on your device.
  7. After these two tests are completed, the Deep Linking Test is registered as successful.
Was this article helpful?
1 out of 7 found this helpful