FAQ
Get quick answers on anonymous users, test environments, user switching, channel ids and platform support.
Short answers to the questions developers ask most often. When something does not work, see Troubleshooting.
Using Screeb without identifying users
Section titled “Using Screeb without identifying users”You can. Screeb creates an anonymous user when the SDK starts, and surveys work for that user. If you identify them later, Screeb attaches the anonymous activity to the identified user. Anonymous users count toward your monthly user quota, like identified ones.
Keeping Screeb out of tests and CI
Section titled “Keeping Screeb out of tests and CI”Skip loading or initializing Screeb outside production. Otherwise every test run creates new anonymous users.
if (!BuildConfig.DEBUG) { Screeb.initSdk(this, "<YOUR-CHANNEL-ID>")}Initializing more than once
Section titled “Initializing more than once”Initialize Screeb once, when the app starts, and keep it running for the whole session. To change the user, change the identity instead of initializing again: see the next answer.
Switching to another user
Section titled “Switching to another user”Reset the identity when the user logs out, then identify the next user when they log in. Between the two, Screeb tracks an anonymous user. See Identity.
Finding the channel id
Section titled “Finding the channel id”The channel id is a UUID shown in the installation settings of your Screeb workspace: see Install Screeb on your website or web app or Install Screeb in your mobile app. The same channel id works on the web, iOS and Android, so an app on several platforms uses one channel id.
A survey does not show
Section titled “A survey does not show”Start with the debug calls of Troubleshooting, then go through My survey or message is not displayed for the causes set in Screeb itself.
Changing how surveys look
Section titled “Changing how surveys look”You set colors, fonts, size and position in the survey editor in Screeb, not in code. The SDK applies them on its own.
Hiding sensitive content from session replay
Section titled “Hiding sensitive content from session replay”Mark the elements or views to mask or exclude: see Privacy helpers.
Android permissions and code shrinking
Section titled “Android permissions and code shrinking”Your app must request the INTERNET permission, which the SDK does not add on its own. Code shrinking with ProGuard or R8 needs no extra rule: the SDK ships its keep rules.