Under Review
over 1 year ago

[INVALID] Compiler insists that compilation resource IDs (indices) are contiguous and start at 1

e.g. If you publish two complications, their IDs have to be "1" and "2".

To me this is an issue because it means that there's no good way to deprecate (unpublish) a published complication. If you remove a complication and add a new one to the same app, you'll have to reuse the resource ID which means reusing the unique Toybox.Complication.Id (which consists of native type, CIQ app ID, and CIQ resource index).

In other words, if I subscribe to complication Y from app X, and app X's developer decides to remove Y and add complication Z, I will now be subscribed to complication Z, which is not what I wanted.

The only alternative is to never remove a complication once it's been published.

In an ideal world, this restriction on compilation IDs would be removed.

Sorry, I was mistaken. Please close!

Parents Comment Children
No Data