Developer0.33.0

Instant code loads in any app that calls app.init

Load instant code without a REMOTE_BUNDLE_URL key, and show Nector loyalty tiers to shoppers before they sign in.

The remote-bundle loader in @gauntlet/brewery now falls back to the Appbrew bundle host when REMOTE_BUNDLE_URL is missing from the app’s .env. Set it to an empty string to turn instant code off for one app. The loader is installed by app.init, so an app still on config.init(appId).then(...) loads nothing: move it to onConfigReady(callback) from @gauntlet/state, followed by app.init({ appId }).

Two behaviors differ from config.init().then(). The ready callback doesn’t run when config fails to load, and work chained with .finally belongs in the callback, since app.init returns nothing to chain on.

Also in 0.33.0

  • prewarm from @gauntlet/brewery: call it from index.js when the screen is created, so a launch from a background push skips it.
  • Nector loyalty tiers render before sign-in.
  • Nector coin expiry uses the program’s own unit: days, weeks or months.

JavaScript only

No breaking changes and no native changes. Apps pick this up with their next app release.

Read the feature pageRead the docs