← Home🐞

AppsFlyer Test

Exercises every AppsFlyer function in webtonative@1.1.28 (WTN.appsflyer) and shows the deep link data the native SDK sends back.

Environment

Sets a customer user ID, logs a test purchase and reads the AppsFlyer ID in one go.

AppsFlyer ID — getAppsFlyerAppId

Returns the device's AppsFlyer ID (and the Apple app ID on iOS). Empty values mean the SDK was not set up — on iOS, the dev key or appStoreDetails.appId is missing from the app config.

Not requested yet.

Customer user ID — setCustomerUserId

Links your own user ID to this install. There is no callback: check the customer_user_id on the next event in AppsFlyer raw data. On Android it is remembered across app restarts.

In-app event — logEvent

Pick a preset or write your own. Values must be a JSON object; nested objects and arrays are allowed.

Deep link callbacks

The SDK has no deep link function: when a link opens the app, native code resolves it, navigates here (to deep_link_value) and sends an appsFlyerDeepLink callback. This page listens for it.

No deep link received on this page yet.

Build a test link

Use your OneLink URL, or the app's custom scheme (for example wton.https://example.com/landing). Links work best when opened from outside the app — use the commands below on a test device.

Enter a base link.

  
  

Activity log

Every call from this page and every native callback (purple).