Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.moca.network/llms.txt

Use this file to discover all available pages before exploring further.

SDK Packages

SDKPackageInstall
Web (JS / TS)@mocanetwork/airkitnpm install @mocanetwork/airkit
Flutterairkit (Dart)OnePub hosted — see Flutter installation
For the latest version numbers see Release Notes.

Platform Support

PlatformWeb SDKFlutter SDK
Web (Browser)
iOS (native)
Android (native)
React NativePartial — WebView only
Electron

Browser Support (Web SDK)

BrowserMinimum VersionNotes
Chrome / Chromium126+Full support (passkey required)
Firefox97+Full support (passkey required)
Safari16+Full support (passkey required)
Edge126+Full support (Chromium-based)
Opera112+Full support (Chromium-based)
Samsung Internet14+Full support
IE 11Not supported

Framework Compatibility (Web SDK)

FrameworkStatusNotes
React 17+Full support
React 16Full support
Next.js 13+ (App Router)Add 'use client' directive to the initializing component
Next.js 12 (Pages Router)Full support
Vue 3Full support
Vue 2Full support
Nuxt 3Full support
SvelteKitFull support
Angular 14+Full support
Vanilla JSUMD / ESM builds available

Module Formats (Web SDK)

FormatImportBest For
ESMimport { AirService } from '@mocanetwork/airkit'Vite, Webpack 5, modern bundlers
CommonJSconst { AirService } = require('@mocanetwork/airkit')Node.js, older bundlers
UMD<script> CDN tagNo-bundler / script-tag setups

Issue on Behalf — Server Language Support

The Issue on Behalf API is HTTP + JWT — any backend language works. Common JWT libraries:
LanguageLibrary
Node.jsjsonwebtoken
Javacom.auth0:java-jwt
C#System.IdentityModel.Tokens.Jwt
Gogithub.com/golang-jwt/jwt/v5
PythonPyJWT
Rubyruby-jwt
PHPfirebase/php-jwt
See full signing examples for Node.js, Java, C#, and Go in Partner Authentication.