LogoDOCS
Search documentation...⌘K

Getting Started

Welcome to NativineApp Requirements

Integration Guide

SDK Installation

Native Bridge API

CSS App DetectionClear App CacheApp SharingIn-App ReviewsHaptic Vibration

Core Features

Branding & IdentityApp Icons & SplashPush Notifications

Deployment

Google Play StoreApp Signing Keys
HomeDocsSDK Installation

SDK Installation

How to install and import the Nativine Native Bridge client-side SDK.

4 min read
Last updated: June 15, 2026

The Nativine JavaScript SDK provides a helper namespace to communicate with the native Android/iOS wrapper layer. You can integrate it into your site using several straightforward options:

Option A: Direct CDN Import (Plain JS)

Add the following script block to the <head> of your website index HTML. This exposes the global window.Nativine object on startup:

html
<script src="https://nativine.com/nativine.js" defer></script>

Option B: Manual Script Download

If you prefer hosting the SDK locally in your static assets folder, download the SDK file directly from:

https://nativine.com/nativine.js

Option C: Framework Imports (ESM / npm)

For Next.js, React, or Vue setups, download the file and import it dynamically on client mount:

javascript
useEffect(() => {
  import('./nativine.js').then(() => {
    if (window.Nativine?.isApp) {
      console.log("Running inside Nativine wrapper app!");
    }
  });
}, []);
Was this page helpful?