Skip to main content
RingKit requires Capacitor 8 (iOS 14+, Android 8+). This page gets the plugin wired; the platform pages cover the push setup that wakes a killed app: iOS, Android.

1. Install

RingKit is closed source: your license grants read access to the private repository, and you install straight from it.
Every release is a git tag — pin the one you want. Installing in CI, pinning a copy without git, and moving to a new version: Installing and updating.
No license yet? See License — $99/year per app.

2. Configure

RingKit reads static config from capacitor.config under plugins.RingKit (it must be static — on a killed app the JS layer isn’t alive to configure the call):
Every key is documented in Configuration.

3. Platform setup

  • iOS — add the Push Notifications capability and Background Modes → Voice over IP (and Audio for the call media), declare the microphone usage string, and send VoIP pushes to the token from the registration event with a VoIP Services APNs key or certificate (topic = your bundle id + .voip). RingKit reports the call from its PushKit delegate automatically. Full detail: iOS setup.
  • Android — RingKit’s permissions and components merge in automatically. Request the runtime notifications permission (Android 13+) before calls arrive, and deliver a high-priority FCM data message (at minimum callId) to wake the app: either declare RingKit’s opt-in RingKitMessagingService (if you don’t already have an FCM service), or call RingKitIncomingCall.present(...) from your existing handler (OneSignal, your own FCM, SIP). Full detail: Android setup. Huawei without Google services: HMS Push.

4. Wire the call lifecycle

Attach listeners before register(). The iOS VoIP token and an Android cold-start answer can fire the moment register() runs.

5. Present a call

From a foreground/background push handler, present the native screen yourself. From a killed app RingKit presents it for you (iOS PushKit delegate / Android FCM service — see the platform pages).
If the caller hangs up before the callee answers, a cancel push dismisses the ring even on a killed device — see Remote cancel.

6. Try it without a push server

Clone the plugin’s example/ app and tap Simulate incoming call — it exercises reportIncomingCall → native UI → callAnswered/callEnded on both platforms with no push infrastructure. For the killed-app path, use the ready-made test-push senders in example/scripts/ — see Testing.
Gating your media start on the audio session is what prevents the iOS dead-microphone bug — see In-call audio.

How the killed-app path works

  • iOS — RingKit registers its own PKPushRegistry for VoIP pushes. iOS wakes the app for a VoIP push and RingKit reports the call to CallKit synchronously (required by iOS), so the native screen appears even when the app was terminated.
  • Android — a high-priority FCM data message starts RingKit’s service in the background; it presents the call via Telecom or the full-screen fallback. When the user answers, RingKit revives your app (launcher intent) and flushes the callAnswered event on register() (cold-start actions older than androidPendingActionTtlMs are dropped).

Installing and updating

Access from your machine and from CI

npm fetches RingKit with git, so whatever runs npm i needs read access to the private repository:
  • Your machine — the GitHub account your license gives access to, signed in to git (an SSH key or a git credential helper). A “repository not found” or permission error from npm i means git couldn’t authenticate.
  • CI — give the job a read-only credential for the repository (a deploy key, or a fine-grained token limited to reading its contents) and let git use it. Or skip git in CI entirely with a pinned tarball (below).

Pinning a copy without git

Every release on the repository’s Releases page has the packed package attached (nickbur-ringkit-<version>.tgz). Download it into your project — for example a vendor/ folder you commit — and install from the file:
The build then needs no access to the repository, which keeps CI simple.

Moving to a new version

1

Read the release notes

Each release on GitHub lists what changed; the repository’s CHANGELOG.md has the full history.
2

Install the new tag (or tarball)

3

Rebuild the native apps

Rebuild and test the iOS and Android apps — RingKit’s native code changes with the plugin. The killed-app path is worth re-checking with the test senders.
Only the latest release receives fixes, so stay on it. New versions are yours while the subscription runs; if it lapses, you keep shipping the versions you already built.

Next steps

iOS setup

Capabilities, Info.plist, and the VoIP push.

Android setup

The wake push and runtime permissions.

Configuration

Every config key and payload mapping.

API reference

Methods and events.

Android reliability

Ringing on strict OEMs (MIUI / EMUI / ColorOS).

Migrating

Coming from another incoming-call plugin.