Full device consent dialog
Learn how to customize the full device consent prompt which is required by some of our supported platforms.
CobrowseIO.confirmFullDevice = function() {
return new Promise(function(resolve, reject) {
// your logic here
//
// call CobrowseIO.currentSession.fullDevice()
// to get current full device state
//
// you must show a button or UI as part of the DOM
// for the user to click before resolving the promise
//
// call resolve(true) to start full device, or reject()
// to turn off full device
});
}-(void) cobrowseHandleFullDeviceRequest:(CBIOSession*) session {
// You must show a RPSystemBroadcastPickerView which is provided by the iOS platform.
// Call [session setFullDevice:kCBIOFullDeviceStateRejected callback:nil] if the user
// dismisses the prompt without allowing the full device screen share.
}Last updated