go-update icon indicating copy to clipboard operation
go-update copied to clipboard

Serve OS Specific Components

Open jsecretan opened this issue 3 years ago • 2 comments

A component ID should have the option of being distributed in an OS specific way. This is motivated by a desire to make OS specific NTP-SI packages for each platform, so that the images can be optimized for mobile, or reflect differences in the platforms (e.g. rewards is not available on iOS and any house campaign should reflect that).

jsecretan avatar Jul 02 '21 12:07 jsecretan

Not opposed but just wanted to share a couple of work arounds that we have currently:

  • If it's not a lot of data, just include different files in the component, 1 per platform. Or a JSON file can for example have a per platform key.
  • Can use different component IDs per platform

bbondy avatar Jul 02 '21 15:07 bbondy

Thanks @bbondy fair point and I think @petemill has convinced me that different component ids per platform is probably cleaner. We're having a kick off first thing next week and I'll keep this open until then. If we go a different direction I'll close this out.

jsecretan avatar Jul 02 '21 20:07 jsecretan