Using the CLI with self-hosted codepushgo
What this tutorial will cover?
This tutorial will show how to use CLI in a dev environment with self hosted codepushgo
Getting started
To use the CLI with self-hosted codepushgo edit the capacitor.config.ts
from your app directory and set it like this:
const config: React NativeConfig = { appId: 'com.demo.app', appName: 'demoApp', webDir: 'dist', bundledWebRuntime: false, plugins: { React NativeUpdater : { localHost: "http://localhost:5173", localWebHost: "http://localhost:5173", localSupa: "http://localhost:54321", localSupaAnon: "see_notes", }, },};
Note: To get localSupaAnon
please follow this tutorial and copy the anon key
into localSupaAnon