// Replace with your actual key const LICENSE_KEY = 'BK-7F3A-9D2E-5C1B-2A4F';
If you need to without building a custom infrastructure, Bongo is worth a look. 3️⃣ Prerequisites – What You Need Before Activating | Requirement | Details | |-------------|---------| | Bongo Account | Sign up at https://dashboard.bongo.io and verify your email. | | License Key | Purchased from the Bongo Marketplace or received via a promotional offer. | | Supported Platform | Web (React, Vue, Angular), iOS (Swift), Android (Kotlin), or Unity. | | Node ≥ 14 (for web builds) | Required for the CLI tool ( bongo-cli ). | | HTTPS | Activation keys are transmitted securely; a TLS‑enabled domain is mandatory. | 4️⃣ Step‑by‑Step Activation Guide Step 1 – Install the SDK # npm / yarn (Web) npm install @bongo/sdk --save # or yarn add @bongo/sdk bongo code activation
# Gradle (Android) implementation 'com.bongo:sdk:2.1.0' import Bongo from '@bongo/sdk'; // Replace with your actual key const LICENSE_KEY
# CocoaPods (iOS) pod 'BongoSDK'
// Initialise the SDK (this automatically contacts Bongo’s activation server) Bongo.init( licenseKey: LICENSE_KEY, environment: 'production', // or 'sandbox' for testing ); Store the key outside the source code (e.g., in environment variables) to keep it safe: # .env BONGO_LICENSE=BK-7F3A-9D2E-5C1B-2A4F Bongo.init( licenseKey: process.env.BONGO_LICENSE, ); Step 3 – Verify Activation Bongo.isActivated() .then(active => if (active) console.log('✅ Bongo is fully activated! 🎉'); else console.warn('⚠️ Activation failed – double‑check your license key.'); ); If you see a 403 error, the key may be expired or not yet assigned to your account. Step 4 – Enable Premium Modules (Optional) // Example: Turn on Advanced Analytics Bongo.enableFeature('analytics', trackingId: 'UA-XXXXX-Y', ); | | Supported Platform | Web (React, Vue,