Initialization
Last updated
To initialize Tyr SDK, embed a URL in your WebView with the following structure:
https://sdk.tyrads.com?token=<TOKEN>&to=<ROUTE>&lang=<LOCALE>to
β No
Deep link route to direct users to a specific screen or feature in the SDK (e.g., /offers, /active-offers, /settings)
lang
β No
Language/locale code for SDK content localization. Follows ISO 639-1 (e.g., en, ja, id)
skipUserInfo
β No
Bypasses the user onboarding/profile collection screen on SDK launch. Set to true if user information has already been collected or is managed externally (e.g., skipUserInfo=true
placementId
β No
Identifies the ad placement context to filter and return only the currencies available for that specific placement. Use the placement ID assigned during your ad unit setup (e.g., placementId=1
hideBackButton
β No
Hides the back button on the offerwall page, which is normally used to close the SDK. Set to true if you want to prevent users from closing the SDK via this button. It is usually used when close behavior is handled by your own app. (e.g., hideBackButton=true)
β οΈ The token parameter is mandatory. Without it, the SDK will not function properly.
Last updated