Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
This is pre-release software and provided as-is.
This repository contains the core npm module for creating iTwin.js applications on mobile devices via iTwin/mobile-sdk-ios and iTwin/mobile-sdk-android. See iTwin/mobile-ui-react for React-specific mobile functionality and iTwin/mobile-samples for sample iOS and Android apps.
Please see VERSIONS.md for instructions on determining the proper version for npm
modules with an @itwin/ prefix.
Messenger exchanges queries and responses with the native Android/iOS SDK using authenticated
document sessions. Query data is snapshotted when submitted; startup queries wait for the
document handshake. Query failures, document
teardown, and session replacement reject pending Promises.
Query names must be non-empty strings; invalid names reject immediately.
Only the configured main frame is authorized. This does not isolate trusted-origin scripts from each other or protect against trusted-origin XSS.
Run npm test for the focused Android/iOS frontend transport contract tests (including the build)
and npm run lint for the package lint gate.