🚀 Need Expert Help?
Stuck with a complex Problème? Our expert team is here to Aide! Get personalized Support, code reviews, and custom Solutions tailored to your specific needs.
Here are some Problèmes courants you might encounter while using Capgo and how to resolve them.
🚀 Need Expert Help?
Stuck with a complex Problème? Our expert team is here to Aide! Get personalized Support, code reviews, and custom Solutions tailored to your specific needs.
If your Bundle Télécharger fails, double Vérifier:
capacitor.config.ts matches your app in the Capgo dashboardThe Capgo CLI provides some additional flags to Aide with common Télécharger issues:
--tus: Uses the tus resumable upload protocol for more reliable uploads of large bundles or on poor network connections. If your bundle is over 10MB or you’re on a spotty connection, consider using --tus:
npx @capgo/cli@latest bundle upload --tus--package-json and --node-modules: Tells Capgo where to find your root package.json and node_modules if your app uses a non-standard structure like a monorepo or npm workspace. Pass the path to the root package.json and the --node_modules path:
npx @capgo/cli@latest bundle upload --package-json=path/to/package.json --node_modules=path/to/node_modulesCapgo needs this Information to correctly Bundle your Application’s dependencies.
You can combine these flags with other options like --channel as needed. See the Capgo CLI docs for full details on the available upload options.
If you’re still having trouble with uploads, reach out to Capgo Support for further assistance.
If you’re encountering issues with Mises à jour en direct, the Capgo Débogage Commande is a helpful tool for Dépannage. To use it:
Run the following Commande in your project directory:
npx @capgo/cli@latest app debugLaunch your Application on a Appareil or emulator and perform the action that should trigger an Mise à jour (e.g. reopening the Application after uploading a Nouveau Bundle).
Watch the output of the Débogage Commande. It will Journal Information À propos the Mise à jour process, including:
Use the Débogage Journaux to identify where the Problème is occurring. For Exemple:
CapacitorUpdater.notifyAppReady() and that the app was fully closed and reopened.The Débogage Commande is especially useful for identifying issues with the Mise à jour Télécharger and Installation process. If the Journaux show the expected Mise à jour Version was found but not ultimately applied, focus your Dépannage on the steps after the Télécharger.
In addition to the Capgo Débogage Commande, the Natif Journaux on Android and iOS can provide valuable Dépannage Information, especially for issues on the Natif side of the Mise à jour process.
To access the Android Journaux:
Capgo to find the SDK logsAlternatively, you can use the adb logcat command and grep for Capgo to filter the logs.
The Capgo SDK will Journal key events during the Mise à jour process, such as:
Common Android-specific issues you might see in the Journaux include:
To access the iOS Journaux:
Capgo to find the SDK logsYou can also use the log stream command in the terminal and grep for Capgo to filter the logs.
Similar to Android, the Capgo SDK will Journal key iOS-side events:
iOS-specific issues you might identify in the Journaux include:
On both platforms, the Natif Journaux provide a lower-level view into the Mise à jour process, with more details on the Natif implementation. They are especially useful for identifying issues that occur outside of the Capgo JavaScript layer.
When Dépannage a tricky live Mise à jour problem, it’s a good idea to capture both the Capgo Débogage Journaux and the Natif Journaux for a comprehensive picture of what’s happening. The two Journaux together will give you the best chance of identifying and resolving the Problème.
If you’ve uploaded a Bundle but aren’t seeing the changes on your Appareil:
CapacitorUpdater.notifyAppReady() in your app code as shown in the quickstartRefer to the deploying live updates guide for more details on the update process. If you’re still stuck, use the npx @capgo/cli@latest app debug command and native logs to get more visibility into what’s happening.
If you’re having trouble installing the Capgo SDK, make sure:
For issues with triggering Capgo uploads from your CI/CD pipeline:
See the CI/CD integration docs for more troubleshooting tips. You can also use the npx @capgo/cli@latest app debug command to confirm if your CI/CD-triggered updates are being received by the app.