ern bundlestore
commands. Then, from the native application, anyone can load any bundle from any store, through the Electrode Native Settings
menu.config/default.json
) as follow :store access key
. The store access key is needed to upload bundles to this store. Users won't be able to upload bundles to the store without it.
Assuming the newly created store is meant to be used by developers of a given team, the access key should be shared with the team. Any developer of the team can then start using this store and upload bundles to it.store access key
. Upon command completion, the ern
local client will be set to use the store associated with the access key. From this point on, any time an ern
command is run, it will log the name of the bundle store that it is currently using, next to the Cauldron.ern
will upload a bundle to the store it is currently set to use (see Using/Switiching
store above). Then the bundlestore upload command will take care of creating and upload a JS bundle to the active store. Please see the bundlestore upload command reference for additional details, as this command accept many different parameters.development
bundles (__DEV__=true
). These default can be changed through command parameters.bundle id(s)
. This can be useful for tracking/debugging purposes as the bundle id(s)
of the currently loaded bundled will also be visible in the native application.Electrode Native Settings
menu (accessible through React Native developer menu).localhost:3000
.Store
menu item will display a list of all the stores present in the server. Selecting a store from this list will then give access to all bundles that have been uploaded to this specific store. It is then possible to select a bundle to load from this store through the Bundle
menu item. By default, the bundle to load will be set to latest
, meaning that the latest bundle that was uploaded to the store will be loaded. It is possible to load a different bundle (not the latest one) by tapping the Bundle
menu item and choosing a specific bundle from the list of all uploaded bundles (ordered by time).Auto reload
option (turned on by default) will auto reload the bundle whenever a different bundle is selected from the list of available bundles.