Pin the tag version
By default, the Android SDK loads the latest released version of the Screeb tag every time your app starts. You get improvements, new question types and bug fixes automatically, without shipping a new build of your app.
If your organization requires a fixed, auditable third-party payload, you can pin the SDK to one specific tag release.
A pinned version stops receiving all updates until you change the value and ship a new build of your app:
- no bug fixes โ including crash fixes and privacy fixes
- no security patches
- no new features โ new question types, new targeting capabilities, new survey formats
- no compatibility updates โ for new Android versions, new devices or new WebView releases
Surveys you design later in the Screeb app may not render correctly, or may not display at all, if the pinned tag predates the feature they use. Only pin if you have a policy that requires it, and plan to review the pinned version regularly.
How to pinโ
Add the app.screeb.sdk.TAG_VERSION meta-data entry to your app's AndroidManifest.xml, inside the <application> element:
<application>
<meta-data
android:name="app.screeb.sdk.TAG_VERSION"
android:value="0.43.0" />
</application>
The value must be an exact version, in MAJOR.MINOR.PATCH form (a leading v is accepted). Ranges, tags such as latest, and partial versions such as 0.43 are not supported.
Write the version as a plain string. A value such as 0.43 would be read as a float by the Android build tools, and would not be a valid version anyway.
To go back to automatic updates, remove the entry and ship a new build.
Cross-platform appsโ
Flutter, React Native, MAUI and KMP apps use this same entry, read from the AndroidManifest.xml of their Android project. See the per-technology pages, which give the exact file paths: Flutter, React Native, KMP, MAUI.
Ionic apps are not concerned: they run the browser SDK inside the WebView and never load the native Android SDK.
How to verify it worksโ
- Ship a build with the meta-data set.
- Open the app and display a survey.
- Check that everything you expect still renders.
The version is not validated against the list of published releases. If you pin a version that does not exist (a typo, or a version that was never released), the tag fails to load and Screeb stops working entirely in your app: no surveys, no messages, no session replay, and no error shown to your users.
There is no fallback to the latest version, by design: a pinned version is honored exactly as written. Always test a pinned build before releasing it.
Choosing a versionโ
Published versions and what each one contains are listed in the tag changelog. Pick a version that already contains every feature used by the surveys you plan to run, and re-check the changelog whenever you design a survey with a newer capability, or when a fix you need is released.