Is there a way to prevent downloading any sort of updates? I have a set number of devices that connect to a database where their app settings are individually remote controlled. I upload new/updated bundles to S3 for remote load, but I would like to prevent the individual devices from being able to download them until I allow them to.
This originally seemed to work. On app start we check the update size but before downloading dependencies it checks if updates are allowed. If not, it proceeds to the next scene. What I did not expect is if you leave the app running long enough at that point, it goes ahead and downloads everything and loads as normal with all of the updated bundles. I need to prevent that from happening so updates are only downloaded when allowed. How do I do that?
So, I think what you might want is the Disable Catalog Update on Startup option you can toggle on the Addressable Asset Settings object. What it sounds like is happening is that on startup your app is getting the new remote catalog, which you don’t download the new dependencies if your “allow updates” flag disallows it, however when you load an asset that has updated dependencies the catalog points to your new bundles.
The Disable option should prevent your app from pulling the new remote catalog. We have Addressables.CheckForCatalogUpdates and Addressables.UpdateCatalogs that give you specific control on when to update the catalogs.