Deeplinking Routes
NOTE: Min SDK version required: v1.1.8
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:
campaigns
- opens the Campaigns Pagecampaigns-activated
- opens the Activated Campaigns Pagecampaign-details
- opens the Campaign Details Page (requires campaignID)campaign-tickets
- opens the Campaign Tickets Page (requires campaignID)
// Note: CAMPAIGNS is the default route when no specific route is provided
Tyrads.getInstance().showOffers();
// Explicitly specifying the Campaigns Page
Tyrads.getInstance().showOffers("campaigns");
// Activated Campaigns Page
Tyrads.getInstance().showOffers("campaigns-activated");
// Campaign Details Page (requires campaignID)
Tyrads.getInstance().showOffers("campaign-details", "your_campaign_id_here");
// Campaign Tickets Page (requires campaignID)
Tyrads.getInstance().showOffers("campaign-tickets", "your_campaign_id_here");
You can check the working example of the SDK here: https://github.com/tyrads-com/tyrads-sdk-android
Last updated