How to make a project that contains app settings for CIQ2+ devices only

I'd like to make a project that contains app settings for CIQ2+ devices only.

I know I could create a specific resource folder and set the resource path of the devices which I know are CIQ2+ to it using a jungle. But that approach wouldn't support auto app migration. When Garmin would launch a new device, I'd have to change my jungle file manually to set the path for this new device, and recompile and reupload the project.

I wonder if there's a way to do it the other way around. I'd put the settings in the default resource folder (so that newer devices would use it after an auto-migration), but exclude the default resource folder from the older devices.

Thanks!
  • This would be a app where I'd turn off auto-app migration, and the case I'd mention is one that bit me with a CIQ 2.0 only app and a ciq 1.x only app.

    And that would be the 23x/630/735. Except for the version of CIQ, the are similar when it comes to screen shape, etc. With auto migration on, the 23x/630 would show as targets for the CIQ 2.x only app (and it would crash if a user tried to use it on a 23x/630, as it used more memory than available for 1.x devices). if the CIQ 1.x gets migrated to the 735, it won't cause a crash, but is also less functional than the 2.x version. So I have auto app migration turned off for both
  • Former Member
    Former Member
    You could put your settings in the default configuration and then use an override in the jungle file for all the 1.x devices that does not include that folder. The list of 1.x devices won't be growing, so there would not be continuous maintenance.
  • This is exactly what I had in mind!

    But I couldn't find how to do it. And I also don't know how to test, since I do not own a CIQ1 device.

    Could someone provide me with an example? How should the jungle file and the folder structure look like?

    Thanks!
  • Former Member
    Former Member
    The default resource path is the "resources" folder. You will want to put your app settings in a different location. (e.g. a "settings" folder)

    Then update the base resource path to include that folder:
    base.resourcePath = $(base.resourcePath);settings

    Then override all of the 1.x devices resource paths with the default, or any other set of folders you happen to be using:
    fenix3.resourcePath = resources
    vivoactive.resourcePath = resources
    ...




  • Thank you!

    I think I understand, but I could not test it yet. Still, let me ask a question:

    If I don't want to update the base resource path, can I just create a folder 'resources-old' that contains all necessary resources for CIQ 1 devices and only override the resourcePath of those devices?

    fenix3.resourcePath = resources-old
    vivoactive.resourcePath = resources-old
    ...



    In this case, I'd put the settings in the default -unchanged- resource path 'resources', but not in 'resources-old'. Would it work? (If not, why?)

    Thanks again!