Browser Compatibility
Defined under the namespace Scandit.Datacapture.Core
- Feature
Added in version 6.13.0
- Blob
Added in version 6.13.0
- MediaDevices
Added in version 6.13.0
- OffscreenCanvas
Added in version 6.13.0
- HttpProtocol
Added in version 6.13.0
- SecureContext
Added in version 6.13.0
- UrlObject
Added in version 6.13.0
- WebWorkers
Added in version 6.13.0
- WebAssembly
Added in version 6.13.0
- WebGL
Added in version 6.13.0
- WebAssemblyErrorFree
Added in version 6.13.0
WebAssembly without memory corruption (specific iOS version 11.2.2/11.2.5/11.2.6 bug)
Added in version 6.19.0
- CrossOriginIsolated
Added in version 6.19.0
- AnimationApi
Added in version 7.5.1
- DisplayMode
Added in version 8.1.0
PWA display modes as defined in the W3C PWA Manifest specification.
- Standalone
Added in version 8.1.0
The PWA is running in standalone mode, appearing as a standalone application.
- Fullscreen
Added in version 8.1.0
The PWA is running in fullscreen mode, without any browser UI.
- MinimalUI
Added in version 8.1.0
The PWA is running in minimal-ui mode, with minimal browser UI elements.
- Browser
Added in version 8.1.0
The PWA is running in browser mode, as a regular web page.
- BrowserCompatibility
interface BrowserCompatibilityAdded in version 6.13.0
An object containing details about the support level of the used OS/browser combination regarding the features needed by this library.
- fullSupport
readonly fullSupport: boolean
Added in version 6.13.0
Whether the full set of features required to have continuous camera video streaming are supported.
Defined under the namespace Scandit.Datacapture.Core.BrowserHelper
- checkBrowserCompatibility()
function checkBrowserCompatibility(): BrowserCompatibility
Added in version 6.13.0
The built BrowserCompatibility object representing the current OS/Browser’s support for features.
- checkMultithreadingSupport()
function checkMultithreadingSupport(): Promise<boolean>
Added in version 6.19.0
Whether or not the browser supports SharedArrayBuffer, the page is served to be crossOriginIsolated and has support for nested web workers.
- isAnimationApiSupported()
function isAnimationApiSupported(): boolean
Added in version 7.5.1
Whether the browser supports the Animation API (Animation, KeyframeEffect, Element.animate).
- isPwaDisplayMode(displayMode)
function isPwaDisplayMode(displayMode: DisplayMode): boolean
Added in version 8.1.0
Check if the app is running in Progressive Web App (PWA) mode with the specified display mode. See PWA Manifest Display Modes.
This method first checks the standard W3C media query
(display-mode: <displayMode>)to determine PWA mode. For the “standalone” mode on iOS devices, it also falls back to the deprecatednavigator.standaloneproperty for compatibility with older iOS versions. The media query check is preferred and takes precedence over the fallback.