Deeplinking & Routes

Min SDK version required: v1.1.4

The Tyrads SDK supports deeplinking to specific sections of the offerwall. When initializing or interacting with the SDK, you can specify a route to open a particular page. For campaign-specific routes, you'll need to provide the campaignID as well.

Available routes and their usage:

  • offers - opens the Campaigns Page

  • active-offers - opens the Activated Campaigns Page

  • offers/[id] - opens the Campaign Details Page (requires campaignID)

  • support/[id] - opens the Campaign Tickets Page (requires campaignID

Route

Description

Requires campaignID?

offers

Main campaigns list

No

active-offers

List of user's active campaigns

No

offers/[id]

Details for a specific campaign

Yes

support/[id]

Support tickets for a specific campaign

Yes

Example Usage:

// Open details for a specific campaign
await Tyrads.showOffers({ 
  route: "offers", 
  campaignID: "your_campaign_id" 
});

Last updated