Passer au contenu

Débogage

codeDescription
InvalidIpThe Utilisateur is located in a Google data center and the Mise à jour is less than 4 hours old. This is done to prevent Google bots’ Appareils from counting as Appareils in your Compte.
needPlanUpgrade (previously needUpgrade)Indicates that you have reached the limit of your plan, and the Appareil will not receive Mises à jour until you Mise à niveau or until the Suivant month.
noNewThe Appareil has the latest Disponible Version.
disablePlatformIosThe Appareil is on the iOS platform, but that is disabled in the Canal Paramètres.
disablePlatformAndroidThe Appareil is on the Android platform, but that is disabled in the Canal Paramètres.
disableAutoUpdate”major"
disableAutoUpdateUnderNativeThe device has version (1.2.3), and the channel has an update (1.2.2) under the device version to send, but that is disabled in the channel settings.
disableDevBuildThe Appareil has a dev Construction, but that is disabled in the Canal Paramètres.
disableEmulatorThe Appareil is an emulator, but that is disabled in the Canal Paramètres.
cannotGetBundleÉchoué to generate a valid signed URL for the Bundle Télécharger. This occurs when the Bundle URL generation fails or Retourne an invalid URL (not starting with http/https) and there’s no manifest Disponible as a fallback.
cannotUpdateViaPrivateChannelThe device tried to self-associate with a private channel, but the channel settings don’t allow device self-association (allow_device_self_set is false) and the channel is not public.
channelMisconfiguredThe channel is configured to disable auto-update by version number (disable_auto_update: 'version_number'), but the bundle’s min_update_version field is null, making it impossible to determine which devices should receive the update.
disableAutoUpdateMetadataAuto-update is disabled by version number metadata. The channel requires the device’s version to be at least min_update_version, but the device’s current version is lower than this threshold.
disableAutoUpdateToMajorChannel setting disable_auto_update: 'major' prevents updates that would increase the major version number (e.g., blocking 1.x.x from updating to 2.x.x).
disableAutoUpdateToMinorChannel setting disable_auto_update: 'minor' prevents updates that would increase the minor version number (e.g., blocking 1.2.x from updating to 1.3.x).
disableAutoUpdateToPatchChannel setting disable_auto_update: 'patch' prevents updates that would increase the patch version number, or allows only patch-level updates within the same major.minor version (e.g., 1.2.3 can update to 1.2.4 but not 1.2.2 or 1.3.0).
missingBundleThe bundle assigned to this channel has no downloadable content. This means the bundle has no external_url, no r2_path, it’s not a built-in version, and there are no manifest entries available for download.
NoChannelOrOverrideNo default Canal is configured for this Application and the Appareil has no specific Canal override assigned. At least one must be present for Mises à jour to work.
rateLimitedThe Appareil has been rate limited due to excessive requests.
codeDescription
pingInternal Test action used to verify the stats system is working correctly.
getInfo for downloading the Nouveau Version has been sent to the Appareil.
SupprimerOne Bundle has been deleted on the Appareil.
setA Bundle has been set on the Appareil.
set_failThe Bundle Échoué to set.
resetThe device reset to the builtin bundle.
download_XXA Nouveau Bundle has been downloaded - progress indicated by XX% (increments of 10%).
download_completeThe Nouveau Bundle has finished downloading.
download_manifest_startThe Appareil started downloading the Mise à jour manifest.
download_manifest_completeThe Appareil finished downloading the Mise à jour manifest.
download_zip_startThe Appareil started downloading the Bundle archive.
download_zip_completeThe Appareil finished downloading the Bundle archive.
download_manifest_file_failOne manifest entry failed to download; the stats payload puts version_name in the form version:fileName to pinpoint the asset.
download_manifest_checksum_failThe manifest file Échoué checksum validation.
download_manifest_brotli_failThe manifest file Échoué to decompress using Brotli.
download_failThe Nouveau Bundle Échoué to Télécharger.
update_failThe new bundle has been installed but failed to call notifyAppReady.
checksum_failThe Nouveau Bundle Échoué to Valider the checksum. If you’re using Capgo Cloud and encounter this Erreur, it typically means your Application Version is expecting a different checksum type. The latest Version of the CLI and plugins (Version 5.10.0+, 6.25.0+ or 7+) use SHA256 checksums, while older plugins used CRC32. If you see a checksum fail, Vérifier if the checksum is CRC32 (a shorter hash) rather than SHA256. This usually indicates the Bundle was uploaded with an old Version of the CLI. Verify your Bundle Version in the Capgo Tableau de bord - Bundles created since Version 5.10.0/6.25.0/7 should use SHA256. If you’re seeing CRC32 checksums, ensure you have the latest plugin Version installed locally (the CLI checks your local plugin Version to determine which checksum type to Télécharger), then Mise à niveau your CLI and re-Télécharger the Bundle.
windows_path_failThe zip has files who contain windows path who are illegal
canonical_path_failThe path of files is not canonical
directory_path_failThere is an Erreur in the path of zip files
unzip_failunzip Échoué
low_mem_failTélécharger Échoué because of low memory in the Appareil
app_moved_to_backgroundThe Application entered the background state.
app_moved_to_foregroundThe Application entered the foreground state.
decrypt_failÉchoué to decrypt the downloaded Bundle.
getChannelThe current Canal for the Appareil was queried.
setChannelA Canal was successfully set for the Appareil.
uninstallThe Application was uninstalled or Capgo data cleared.
blocked_by_server_urlServer.url is present in your capacitor config, this make Capacitor serve remote url and ignore local files, while our updater is made to function with local file, Server.url Is consider by Capacitor Makers as bad practice in Production and will lead to many Problème and plugin not working correctly.
  • SUCCESS: install bundle done
  • ERROR: install or download failed
  • PENDING: Download done, pending release
  • DELETED: Bundle deleted, still presented for stats
  • DOWNLOADING: Currently downloading a bundle

There is a Débogage Commande for Capgo cloud Utilisateurs.

Terminal window
npx @capgo/cli@latest app debug

This will allow you to Vérifier all events happening in the Application and find a Solution if Mises à jour don’t happen.

to find your Journaux on Xcode

to find your Journaux on Android studio

  • Failed to download from => same as download_fail
  • notifyAppReady was not called, roll back current bundle => same as as update_fail

Finding the downloaded Bundle in your Appareil

Section titled “Finding the downloaded Bundle in your Appareil”

To Débogage on iOS, you need to dump the Application on your computer, you can do it like this:

Xcode has a built-in Fonctionnalité for inspecting the file system of developer-installed apps on an iOS Appareil. Xcode Window menu showing Appareils and Simulators Option

To achieve this:

  • Connect your device to your Mac and select Window > Devices in the Xcode menubar.
  • Select your device in the left pane under the Devices section.
  • This will show a list of developer-installed apps for that device.
  • Select the app you want to inspect and then select the 3 dots icon near the bottom of the screen.
  • Here you can view the current file system by selecting download a snapshot of it.

Xcode Appareils panel showing Application container Télécharger Option

Selecting Télécharger Container… will Télécharger and Exporter a snapshot of the file system as a .xcappdata file that you can browse through.

Downloaded xcappdata file with Show Package Contents context menu

Right-click on this file and select Show Package Contents to open the folder.

Open the Application Data folder, and you should now see a few folders like Documents, Library, tmp, etc.

iOS Application container folder structure showing Documents and Library folders

Then you will find a Version in 2 folders:

library/NoCloud/ionic_built_snapshots is necessary after the app reboot

and documents/versions for hot reload

To Débogage on Android, you need to access the Appareil from Android Studio:

  • Click View > Tool Windows > Device File Explorer or click the Device File Explorer button in the tool window bar to open the Device File Explorer.
  • Select a device from the dropdown list.
  • Open the path data/data/APP_NAME/ where APP_NAME is your app ID.

Android Studio Appareil File Explorer showing Application data directory

Then Find the versions folder to see all the versions

Did you know?

On Android, all versions are stored in one folder, unlike iOS where it has to be duplicated in two locations.

Understanding iOS Production crash Journaux

Section titled “Understanding iOS Production crash Journaux”