<div dir="ltr">Hey guys,<div><br></div><div>the feature of UPS Console where you can generate push-config.json under the Example implementation is pretty cool:</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:10px;padding:0px;border:1px solid rgb(204,204,204);font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:11px;font-stretch:inherit;line-height:1.66666667;vertical-align:baseline;overflow:auto;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border-top-left-radius:1px;border-top-right-radius:1px;border-bottom-right-radius:1px;border-bottom-left-radius:1px;background-color:rgb(85,85,85)!important"><code class="" style="margin:0px;padding:0px;border-width:0px 0px 0px 2px;border-left-style:solid;border-left-color:rgb(17,17,17);font-size:12px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:15px;vertical-align:baseline;color:rgb(238,238,238);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px">{
  &quot;pushServerURL&quot;: &quot;<a href="http://localhost:8080/ag-push/">http://localhost:8080/ag-push/</a>&quot;,
  &quot;android&quot; : {
    &quot;senderID&quot;: &quot;234&quot;,
    &quot;variantID&quot;: &quot;a85cdfad-969c-4ab3-80bd-65a661bfd1a1&quot;,
    &quot;variantSecret&quot;: &quot;da2ffc3a-96bf-4ee1-81fe-92721569c407&quot;
  }
}</code></pre></div><div>I would like to build on top of it.</div><div><br></div><div><br></div><div>Especially for demo purposes, it would be nice to generate multi-variant configs at once, such as bellow.</div><div><br></div><div>But the problem comes when you have more variants per one type, I have some ideas here:</div><div><br></div><div>a) generate multi-configs and include all variants with comments what config stands for what variant</div><div>b) generate multi-configs ONLY when there is at most one variant per type</div><div>c) use alternative approach and allow to generate push-config.json according to user-selected variants (selection such as in Send Push feature)</div><div><br></div><div>WDYT?</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:10px;padding:0px;border:1px solid rgb(204,204,204);font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:11px;font-stretch:inherit;line-height:1.66666667;vertical-align:baseline;overflow:auto;word-break:break-all;word-wrap:break-word;color:rgb(51,51,51);border-top-left-radius:1px;border-top-right-radius:1px;border-bottom-right-radius:1px;border-bottom-left-radius:1px;background-color:rgb(85,85,85)!important"><code class="" style="margin:0px;padding:0px;border-width:0px 0px 0px 2px;border-left-style:solid;border-left-color:rgb(17,17,17);font-size:12px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:15px;vertical-align:baseline;color:rgb(238,238,238);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px">{
  &quot;pushServerURL&quot;: &quot;<a href="http://localhost:8080/ag-push/">http://localhost:8080/ag-push/</a>&quot;,
  &quot;android&quot; : {
    &quot;senderID&quot;: &quot;234&quot;,
    &quot;variantID&quot;: &quot;a85cdfad-969c-4ab3-80bd-65a661bfd1a1&quot;,
    &quot;variantSecret&quot;: &quot;da2ffc3a-96bf-4ee1-81fe-92721569c407&quot;
  },
  &quot;ios&quot; : {
     ...
  },
  &quot;windows&quot; : {
     ...
  },
  &quot;firefoxos&quot; : {
     ...
  }
}</code></pre></div></div>