We've exposed a couple of functions that are used by the SDK to determine which WebAssembly bundle to load and from which location
Function detectWasmType() returns the best possible WebAssembly bundle based on the features a browser supports.
Function wasmFolder( WasmType ) returns the name of the resources subfolder of the provided WebAssembly bundle type.
For more information on how to implement these functions, see WasmLoadUtils.ts file.
Bugfixes
Container width size on UI component for action label (Scan or choose from gallery) and action buttons (Device camera and From gallery) are now responsive on Safari.
2.2.2
SDK changes
detectWasmType()
returns the best possible WebAssembly bundle based on the features a browser supports.wasmFolder( WasmType )
returns the name of the resources subfolder of the provided WebAssembly bundle type.WasmLoadUtils.ts
file.Bugfixes
Scan or choose from gallery
) and action buttons (Device camera
andFrom gallery
) are now responsive on Safari.