🀠 User data & App info

Customer info

In order to pre-fill the customer's name & email, we recommend using the following method. This welcomes the user with his name and simplifies the feedback reporting, as the user doesn't need to enter his email again.

name: 'Isabella'

This method is only available with v5 and later of our JavaScript SDK.

Customer email address

Pre-fills the customer's email address with all email form fields. Pre-filled email fields will be automatically hidden from the UI for an even better user experience.

BugBattle.setCustomerEmail("[email protected]");

App version & build number

With the following methods you can add information about your application number and version code.

App build number

Default value: not set


App version code

Default value: not set

// Sets the app's version code.