Live Update¶
This starter template uses Capawesome Cloud to deliver updates to your Capacitor app in real-time.
Configuration¶
To receive live updates, you must first configure the Capacitor Live Update plugin via the Capacitor configuration file (capacitor.config.ts
):
- App ID: See App ID and follow the instructions to configure an app ID.
- Enabled: Set the
enabled
property totrue
to enable the plugin.
capacitor.config.ts
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
plugins: {
LiveUpdate: {
enabled: true,
},
},
};
export default config;
Finally, sync your Capacitor project to apply the changes: