You can add the webnative SDK to a project by loading it from a CDN or installing it with a package manager.
For prototyping or experimentation, you can use the latest version of the SDK.
<script src="https://unpkg.com/[email protected]/dist/index.min.js"></script>
We recommend linking to a specific version in production to avoid unexpected changes.
We recommend installing with a package manager for larger projects that use build tools or bundlers.
Install the SDK with
npm or your preferred package manager.
npm install webnative
Import the SDK in your application.
// ES6import * as wn from 'webnative'// Browser/UMD buildconst wn = self.webnative