open In Secure Mode
Opens the Beacon in Secure Mode on the appropriate page depending on your Beacon's config.
To retrieve previous conversations in Secure Mode, you must:
- Identify the user with their email and name using
Beacon.identify() - Open Beacon with the signature using
BeaconActivity.openInSecureMode()
For security reasons, you'll need to pass in the signature every time you want to open the Beacon UI.
Important: You should NOT store the secret key in the app. Instead, your server should provide the computed signature value.
To clear user data, call Beacon.logout()
Parameters
a valid context or activity
the computed signature for secure mode authentication
Opens the Beacon in Secure Mode on the screen passed as parameter in screen.
To retrieve previous conversations in Secure Mode, you must:
- Identify the user with their email and name using
Beacon.identify() - Open Beacon with the signature using
BeaconActivity.openInSecureMode()
For security reasons, you'll need to pass in the signature every time you want to open the Beacon UI.
Important: You should NOT store the secret key in the app. Instead, your server should provide the computed signature value.
To clear user data, call Beacon.logout()
Parameters
a valid context or activity
the computed signature for secure mode authentication
one of the possible BeaconScreens enum values
arguments passed to the selected screen