<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 9, 2016 at 9:39 AM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Don&#39;t know what the content is of this file seems the <a href="https://github.com/jboss-mobile/unified-push-helloworld/pull/31" style="font-size:12.8px" target="_blank">https://github.com/jboss-mobile/unified-push-helloworld/pull/31</a> demo doesn&#39;t have this google-services.json</div></div></div></div></blockquote><div><br></div></span><div>yes, that&#39;s correct. It&#39;s up to the developer to actually put the file into that &quot;/app&quot; folder. </div><div><br></div><div>Would this work on Cordova too ? </div><div> </div></div></div></div></blockquote></span><div>So the content would be app specific? Could you give an example? </div></div></div></div></blockquote><div><br></div><div>yes, that&#39;s right. You download that form the Firebase console, specific for your Firebase project. It contains severval things, including the project number and also the server-side key (the one that we also enter in UPS)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>We can put some dynamic stuff into the plugin, but it&#39;s kinda limited. </div></div></div></div></blockquote><div><br></div><div>Could we do some &#39;magic&#39; to make the plugin check that if the target is Android, it requires the JSON file &#39;somewhere&#39;?</div><div>If present, the plugin would put the file into the app folder, if possible :)</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I hope we can do without having cordova devs worry about the platform folder. </div></div></div></div></blockquote><div><br></div><div>I can see that fear, I am not really sure, all I know is that for native this needs to go into the app folder. I am not sure if there is a chance to launche FCM w/o that file and the google plugin.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
</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" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</div></div>