Capgo Documentation
website·Indexed 35 days ago
https://capgo.app/docsCapgo provides a cloud-based platform for instant live updates and native builds for Capacitor apps. It includes Capgo Cloud for OTA updates and Capgo Build for building iOS and Android apps in the cloud without local Mac hardware. The platform features a CLI for managing apps, bundles, and channels, as well as CI/CD integrations for GitHub Actions, GitLab, Bitbucket, and Azure DevOps.
What's inside Capgo
- @capgo/capacitor-mqtt is a Capacitor plugin that provides MQTT connectivity for mobile applications running on Android and iOS. It allows developers to implement pub/sub messaging patterns within their native mobile apps.
Overview of @capgo/native-purchases capabilities
@capgo/native-purchases is a Capacitor plugin that enables native in-app purchases and subscriptions using StoreKit 2 (iOS) and Google Play Billing (Android). Key capabilities include:
- Loading localized product metadata (titles and prices) directly from stores.
- Support for iOS StoreKit monthly subscriptions with 12-month commitments.
- Workflows for purchasing, restoring purchases, refreshing entitlements, and native subscription management.
- App Transaction helpers to support migrations from older business models based on original download/purchase dates.
Overview of Capgo Web App capabilities
The Capgo web app (available at https://console.capgo.app/) is an open-source management console built with Vue.js. It provides a centralized interface for the following tasks:
- Managing channels, versions (bundles), and devices.
- Monitoring native app health via 'Observe'.
- Prioritizing errors using 'Log Insights' and inspecting raw logs.
- Configuring organization security and Enterprise SSO (for Enterprise plan users).
- Managing billing and account settings.
Overview of Capgo Build for Capacitor apps
Capgo Build is a cloud-based native app compilation service for Capacitor apps. It removes the requirement for local development environments (Xcode, Android Studio) and Mac hardware for iOS builds. It handles the compilation of native parts of the app, automatic code signing (certificates, provisioning profiles, and keystores), and direct submission to App Store Connect and Google Play via a CLI command.Overview of @capgo/capacitor-uwb
@capgo/capacitor-uwb is a Capacitor plugin that provides access to native Ultra-Wideband (UWB) ranging APIs on iOS and Android. It allows developers to measure precise distance and direction between devices.
Key architectural details:
- iOS: Uses the Nearby Interaction framework, requiring the exchange of
NIDiscoveryTokenvalues. - Android: Uses
androidx.core.uwbto manage controller and controlee sessions. - Transport: The plugin does not provide a built-in transport for exchanging tokens or parameters; developers must use an out-of-band method such as BLE, MultipeerConnectivity, or a backend server.
- iOS: Uses the Nearby Interaction framework, requiring the exchange of
Overview of @capgo/capacitor-compass
@capgo/capacitor-compass is a Capacitor plugin that provides an interface for reading the device's compass heading in degrees. It allows developers to get a one-time heading reading or listen for continuous heading changes via events.Overview of Capgo Live Updates
Capgo Live Updates allow developers to update the JavaScript bundles of an app remotely and in real-time, bypassing the app store review process for bug fixes and new features.
Constraints:
- Live Updates only apply to JavaScript bundle changes.
- Native code changes (e.g., adding/removing plugins or changing native project configuration) require a new native binary build and submission to the app stores.
Overview of @capgo/capacitor-native-loader
@capgo/capacitor-native-loader renders polished loading indicators using native UIKit (iOS) and Android views. Because these loaders are native overlays, they remain smooth and translucent even when the WebView is busy, resizing, navigating, or hidden. It is specifically designed for scenarios where web-based animations would be too expensive or would freeze during heavy rendering, route changes, or startup processes.Overview of @capgo/capacitor-webview-crash
The@capgo/capacitor-webview-crashplugin allows Capacitor apps to recover from native WebView crashes and implement scheduled WebView recycling. This is particularly useful for long-running applications like kiosks, POS systems, dashboards, and signage apps to avoid memory buildup. It works by storing a native marker when a WebView process dies or is recycled, which is then exposed to the new JavaScript runtime upon recovery.Overview of @capgo/capacitor-live-reload
@capgo/capacitor-live-reload is a Capacitor plugin designed to enable live reloading of Capacitor applications by connecting them to a remote Vite development server.Overview of @capgo/capacitor-social-login capabilities
@capgo/capacitor-social-loginis a comprehensive social authentication plugin for Capacitor apps targeting Web, iOS, and Android. It provides unified implementations for:- Google Sign-In: Uses Android Credential Manager.
- Apple Sign-In: Includes OAuth support for Android.
- Facebook Login: Uses the current Facebook SDK.
- Twitter/X: Implemented via OAuth 2.0.
- Generic OAuth2/OIDC: Supports providers like GitHub, Microsoft Entra ID, Auth0, Okta, Keycloak, and other compliant servers.
Overview of @capgo/capacitor-calendar
@capgo/capacitor-calendar is a Capacitor plugin that provides native calendar and reminder management for iOS and Android. It allows developers to handle calendar event CRUD operations, request specific access levels for calendar and reminders, open native system UI for event creation/editing, and manage iOS Reminders lists.