Documentation

Everything to ship over-the-air updates with Pulsar — from install to multi-deployment testing.

Wrap your root component

Wrap your app’s root export with the codePush HOC, or call codePush.sync() imperatively.

jsx
import codePush from '@novacraft-engineering/pulsar-code-push';

function App() { /* … */ }

export default codePush({
  checkFrequency: codePush.CheckFrequency.MANUAL,
  installMode: codePush.InstallMode.ON_NEXT_RESTART,
})(App);

Call codePush.notifyAppReady() once your app has booted so an installed update is marked good (otherwise it rolls back on next launch).

Reporting

Downloads and installs report back to Pulsar automatically and appear in the dashboard’s Analytics, broken down by device platform, brand and update type.