<div dir="ltr">Burr, I feel the push-config.json is the best thing to avoid maintenance nightmare, since you can generate one config for all the platforms and avoid different platform language hassle.<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 8:29 PM, Burr Sutter <span dir="ltr">&lt;<a href="mailto:bsutter@redhat.com" target="_blank">bsutter@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">My only caution would be to avoid a “maintenance nightmare” - making sure these snippets match the needs of<div>- Xcode developer</div><div>- android studio developer</div><div>- visual studio developer</div><div>- Jboss developer studio with hybrid mobile tools developer</div><div>- the cordova developer using their CLI</div><div>- the ionic developer using their CLI</div><div><br></div><div><br><div><blockquote type="cite"><div><div><div>On Nov 7, 2014, at 6:03 AM, Lukáš Fryč &lt;<a href="mailto:lukas.fryc@gmail.com" target="_blank">lukas.fryc@gmail.com</a>&gt; wrote:</div><br></div></div><div><div><div><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 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/" target="_blank">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 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/" target="_blank">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></div></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></blockquote></div><br></div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div>