<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div>Like it.<div><br><div><div>On 9 Oct,2014, at 8:56 , Sebastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi all,<div>I was thinking of that : as we are adding more and more support for Push Networks (iOS, Android, Microsoft, firefoxOS, Amazon), the configuration list is getting longer and longer in the code. What about creating a separate json file containing this config that the plugin could consume ?</div><div><br></div><div>like, pushconfig.json :&nbsp;</div><div><br></div><div>&nbsp;{</div><div>&nbsp; &nbsp; &nbsp; pushServerURL: "<a href="https://javaoneups-sblanc.rhcloud.com/ag-push/">https://javaoneups-sblanc.rhcloud.com/ag-push/</a>",</div><div>&nbsp; &nbsp; &nbsp; android: {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; senderID: "313664704978",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; variantID: "39d64fb1-6c82-4638-9d02-3fbbbad5ba28",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; variantSecret: "d2e4e60a-e3d9-4db7-acee-0d18abc953a4"</div><div>&nbsp; &nbsp; &nbsp; },</div><div>&nbsp; &nbsp; &nbsp;ios : {</div><div>&nbsp; &nbsp; &nbsp;....</div><div>&nbsp; &nbsp; &nbsp;},</div><div>&nbsp; &nbsp; &nbsp;simplePush : {</div><div>&nbsp; &nbsp; &nbsp;...</div><div>&nbsp; &nbsp; &nbsp;},</div><div>&nbsp; &nbsp; &nbsp;microsoft : {</div><div>&nbsp; &nbsp; ...</div><div>&nbsp; &nbsp; &nbsp; },</div><div>&nbsp; &nbsp; &nbsp;amazon : {</div><div>&nbsp; &nbsp; &nbsp;...</div><div>&nbsp; &nbsp; &nbsp;}</div><div>}</div><div><br></div><div>That should not be mandatory as we could still use the "inline" style.</div><div><br></div><div>wdyt ?&nbsp;</div><div><br></div><div>Sebi&nbsp;</div></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>