CIQ Feature Request: Allow user to download last supported version of app (for old devices) or Allow multiple SDKs to be used during the build process

This would be analogous to the Apple App Store feature which allows a user of an old device to download the last supported version of an app for their device (assuming their device isn't supported by the latest version). That way newer versions of an app could drop support for old devices, but users of old devices could still download the latest version that supports their device.

Alternatively, it would be nice if we could build app versions for old devices with an older SDK and new devices with the new SDK, and package all of that in a single IQ file. I don't think this is possible to do after the fact because the IQ contents are cryptographically signed iirc.

The use case here is that to have apps that support both old and new devices, and to be able to update the app without worrying about breaking older devices due to increased memory requirements (for example) associated with using the new SDK.

Basically I want to be able have a single app which:

- supports old devices, but only in maintenance mode (bug fixes only). Ideally old devices would continue to be built with the same SDK going forward (unless some crucial bug fix comes up)

- supports new devices, with bug fixes and new features. I would want to build new devices with a newer SDK if some feature requires it

Another way to do this would be to split the app into two -- one for old devices and one for new devices. While I've done this before, I feel like it isn't very user-friendly.

Or maybe I'm worrying about nothing - is it the case that building with a new SDK in itself can never cause increased memory usage on a device? At one point, I've definitely seen increased memory usage in the simulator after upgrading, but I'm not sure if that's:

- due to increased memory usage due to using the new SDK itself

or

- because the new SDK estimates memory usage better

or

- because the new SDK now reflects memory usage associated with the latest device update

  • To answer my own question, I tested a complex data field with FR230 in the sim, on SDKs 3.1.8 and 3.2.1.

    3.1.8 (and 3.1.9):

    Memory Usage: 13.7k/16.0k
    Peak: 14.8k
    Objects Usage: 41/512
    Peak Objects: 61
    API statics: 324 (408)

    3.2.2 (and 3.2.3):

    Memory Usage: 13.8k/16.0k
    Peak: 14.9k
    Objects Usage: 42/512
    Peak Objects: 62
    API statics: 336 (456)

    Hopefully that difference of <= 100 bytes won't break the app, but who knows? Is it going to be ~100 additional bytes with every major SDK update?

    It would be nice to be able to use the old SDK just for older devices, since I can't use any of the new functionality for older devices -- I just want to support new devices and old devices in the same app.

    Given that old devices won't even get a new VM, it's not clear to me why simply building with a new SDK should result in increased memory usage.