MyWeatherApp iOS 1.1.0
and MyWeatherApp Android 1.0.0
.yarn.lock
files that are used internally to guarantee consistency of non-updated MiniApp versions.cauldron.json
document.cauldron.json
document shows the following:nativeapps
array contains the data of all mobile applications that are part of the cauldron. A cauldron can store multiple mobile applications, however it is not recommended--instead, we recommend that you use one cauldron per mobile application. It can also be a good idea to go even more granular and have one Cauldron per native application platform (i.e MyWeatherApp Android
/ MyWeatherApp iOS
)isReleased
: true
if this version is released to users and false
otherwise (this version is in development)yarnLocks
: The SHA hash of the yarn.lock
files stored in the cauldron database - this is used by Electrode Native when generating the composite JavaScript bundle.nativeDeps
: An array of native dependencies descriptors, corresponding to the native dependencies (and their versions) stored in the current container of this mobile application versionminiApps
: MiniApps package descriptors corresponding to the MiniApps currently part of the current Container version or released through CodePush updates. The miniApps
array only contains immutable versions. What this means is that any MiniApp path refer to a specific version. For example in the case of a MiniApp added as a registry path, a fixed version must be specified (ex: [email protected]
). This cannot be a range version (ex : [email protected]^0.0.10
). In the same way, this cannot be a branch (ex : "https://github.com/electrode-io/moviedetails-miniapp#master
). While it is possible to add a MiniApp this way; Electrode Native will track the branch and only keep a commit SHA in the miniApps
array (ex : "https://github.com/electrode-io/MovieDetailsMiniApp#ce08c19e2b707fc96a4db016c47a6f3ae8d66262
). This is done to make sure that one can know exactly what versions (and thus code) of the MiniApps are included in a given Container. Indeed, using a version range such as ^0.0.10
or a branch such as master
would not allow one to know exactly what is included in a given Container version..json
files) are kept in a config
directory at the root of the Cauldron. At this time there is no way to set or update configuration through commands. Configuration should be done manually.MyWeatherApp 1.0.0
.MyWeatherApp
application (Android), an optional config object contains configuration for the Container generator that applies to every version of the MyWeatherApp
for the Android platform. Likewise it contains some configuration for a Container transformer. It also contains CodePush configuration. For information about CodePush, see the CodePush documentation for more details. For information about Container Generator and Transformers configuration, refer to the Container documentation.