<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">My only caution would be to avoid a “maintenance nightmare” - making sure these snippets match the needs of<div class="">- Xcode developer</div><div class="">- android studio developer</div><div class="">- visual studio developer</div><div class="">- Jboss developer studio with hybrid mobile tools developer</div><div class="">- the cordova developer using their CLI</div><div class="">- the ionic developer using their CLI</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 7, 2014, at 6:03 AM, Lukáš Fryč &lt;<a href="mailto:lukas.fryc@gmail.com" class="">lukas.fryc@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hey guys,<div class=""><br class=""></div><div class="">the feature of UPS Console where you can generate push-config.json under the Example implementation is pretty cool:</div><div class=""><br class=""></div><div class=""><pre style="margin-top:0px;margin-bottom:10px;padding:0px;border:1px solid rgb(204,204,204);font-family:Menlo,Monaco,Consolas,'Courier New',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" class=""><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">{
  "pushServerURL": "<a href="http://localhost:8080/ag-push/" class="">http://localhost:8080/ag-push/</a>",
  "android" : {
    "senderID": "234",
    "variantID": "a85cdfad-969c-4ab3-80bd-65a661bfd1a1",
    "variantSecret": "da2ffc3a-96bf-4ee1-81fe-92721569c407"
  }
}</code></pre></div><div class="">I would like to build on top of it.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Especially for demo purposes, it would be nice to generate multi-variant configs at once, such as bellow.</div><div class=""><br class=""></div><div class="">But the problem comes when you have more variants per one type, I have some ideas here:</div><div class=""><br class=""></div><div class="">a) generate multi-configs and include all variants with comments what config stands for what variant</div><div class="">b) generate multi-configs ONLY when there is at most one variant per type</div><div class="">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 class=""><br class=""></div><div class="">WDYT?</div><div class=""><br class=""></div><div class=""><pre style="margin-top:0px;margin-bottom:10px;padding:0px;border:1px solid rgb(204,204,204);font-family:Menlo,Monaco,Consolas,'Courier New',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" class=""><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">{
  "pushServerURL": "<a href="http://localhost:8080/ag-push/" class="">http://localhost:8080/ag-push/</a>",
  "android" : {
    "senderID": "234",
    "variantID": "a85cdfad-969c-4ab3-80bd-65a661bfd1a1",
    "variantSecret": "da2ffc3a-96bf-4ee1-81fe-92721569c407"
  },
  "ios" : {
     ...
  },
  "windows" : {
     ...
  },
  "firefoxos" : {
     ...
  }
}</code></pre></div></div>
_______________________________________________<br class="">aerogear-dev mailing list<br class=""><a href="mailto:aerogear-dev@lists.jboss.org" class="">aerogear-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/aerogear-dev</div></blockquote></div><br class=""></div></body></html>