Skip to content

FRVR SDK

One SDK. Every channel. Ads, IAP, analytics, leaderboards, auth, social — drop‑in.

Web / JavaScript

HTML5 games (PixiJS, Phaser, plain Canvas, WebGL). → Web quickstart

Monetization

Ads waterfall, in‑app purchases. Ads · IAP

Certification requirements

What every build must do to pass review, globally and per channel. → Requirements overview

Channels

What FRVR’s pipeline injects per platform, and the per‑channel feature matrix. → Channels reference

For local development, load the dev SDK — a single file that stubs ads, IAP, storage, and more so you can click through flows without a live provider:

<script src="https://cdn.frvr.com/sdk/frvr-sdk.min.js"></script>
<script src="https://cdn.frvr.com/sdk/frvr-channel-dev.min.js"></script>

<script>
  FRVR.config = { gameId: 'my-awesome-game' };

  // Lifecycle hooks are REQUIRED — set them before FRVR.init()
  FRVR.lifecycle.onSuspend      = () => pauseGameLoop();
  FRVR.lifecycle.onResume       = () => resumeGameLoop();
  FRVR.lifecycle.onAudioSuspend = () => muteAudio();
  FRVR.lifecycle.onAudioResume  = () => unmuteAudio();

  FRVR.init();

  FRVR.bootstrapper.init()
    .then(loadGame)
    .then(() => FRVR.bootstrapper.complete());
</script>

That’s your full local integration. You do not pick a production channel bundle — FRVR’s build pipeline injects the right one (Facebook Instant, iOS, Android, Samsung, Xiaomi, …) for each release. See Channels.

Every module page on this site has a live demo — click around, inspect what happens.