All Collections
Onboarding.Online SDK integration
SDK Testing Guides
SDK Testing Guide: Assets Loading and Displaying
SDK Testing Guide: Assets Loading and Displaying

This QA process helps maintain a seamless user experience and ensures that assets are properly integrated into the app.

В
Written by Валерия Зимницкая
Updated over a week ago

Case 1: Resources Loaded via URL

Preconditions:

  • In the onboarding screen settings, images or videos must be loaded via a link.

  • Resources should not be added locally to the app bundle.

Steps:

  1. Install your iOS app on the test device.

  2. Connect a sniffer (e.g., Charles proxy) to the device.

  3. Launch your iOS app.

Expected Result:

  • Requests are sent to the URLs specified in the screen settings (Precondition 1).

  • Upon successfully loading the resource, it is displayed in the app's onboarding.

What to Check if Images or Videos Are Not Displayed:

  • Verify that the device has an internet connection.

  • Check the resource URL in the service: copy it from the web service and paste it into a browser window to ensure the resource is correct.

  • Ensure the request sent at the app launch matches the one specified in the screen settings.

  • Check the response to the request: it should be received without errors.

Case 2: Resources Loaded via URL + Local Resources in the App Bundle

Preconditions:

Steps:

  1. Install your iOS app on the test device.

  2. Connect a sniffer (e.g., Charles proxy).

  3. Launch your iOS app.

Expected Result:

  • When the app is launched, requests for resources stored in the app bundle are not sent.

  • Images and videos are displayed correctly.

What to Check if a Request Is Sent When It Shouldn't Be or Content Is Not Displayed:

If a request is sent when it shouldn't be:

  • Confirm with the developer that the resources are indeed added to the app bundle (the name should match the name in the URL).

  • Ensure the 'use local assets if available' option is enabled for onboarding screens.

If images or videos are not displayed:

  • Check the device's internet connection.

  • Verify the correctness of the resource URL in the screen settings.

  • Ensure the response is received without errors.

Case 3: Resources Applied via "Asset Name"

Preconditions:

  • Resources are added to the bundle of your iOS app.

  • In the screen settings for images, the 'Asset name' type is selected and the asset name loaded in the bundle is entered into the text field.

Steps:

  1. Install your iOS app on the test device.

  2. Connect a sniffer (e.g., Charles proxy).

  3. Launch your iOS app.

Expected Result:

  • No request for resources is sent when the app is launched.

  • Images and videos are displayed correctly.

If the Resource Is Not Displayed in the App, Check:

  • The resource is definitely added to the app bundle (in Xcode, confirm with the developer).

  • The names of the resources in the screen settings and in the app bundle are the same.

Did this answer your question?