Skip to main content

XR8.XrDevice.incompatibleReasonDetails()

XR8.XrDevice.incompatibleReasonDetails({ allowedDevices })

Description​

Returns extra details about the reasons why the device and browser are incompatible. This information should only be used as a hint to help with further error handling. These should not be assumed to be complete or reliable. This will only contain entries if XR8.XrDevice.isDeviceBrowserCompatible() returns false.

Parameters​

ParameterDescription
allowedDevices [Optional]Supported device classes, a value in XR8.XrConfig.device().

Returns​

An object: { inAppBrowser, inAppBrowserType }

PropertyDescription
inAppBrowserThe name of the in-app browser detected (e.g. 'Twitter')
inAppBrowserTypeA string that helps describe how to handle the in-app browser.