<div dir="ltr">+1000<div><br></div><div>that also means, every Cordova app, has a specific file to edit the configuration, instead of open some random JS files</div><div><br></div><div>Love the idea</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 8:56 AM, Sebastien Blanc <span dir="ltr"><<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 : </div><div><br></div><div> {</div><div> pushServerURL: "<a href="https://javaoneups-sblanc.rhcloud.com/ag-push/" target="_blank">https://javaoneups-sblanc.rhcloud.com/ag-push/</a>",</div><div> android: {</div><div> senderID: "313664704978",</div><div> variantID: "39d64fb1-6c82-4638-9d02-3fbbbad5ba28",</div><div> variantSecret: "d2e4e60a-e3d9-4db7-acee-0d18abc953a4"</div><div> },</div><div> ios : {</div><div> ....</div><div> },</div><div> simplePush : {</div><div> ...</div><div> },</div><div> microsoft : {</div><div> ...</div><div> },</div><div> amazon : {</div><div> ...</div><div> }</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 ? </div><div><br></div><div>Sebi </div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">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><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>