[aerogear-dev] Android Push: Firebase Cloud Messaging

Matthias Wessendorf matzew at apache.org
Thu Jun 9 03:08:49 EDT 2016


On Thu, Jun 9, 2016 at 8:19 AM, Erik Jan de Wit <edewit at redhat.com> wrote:

>
>> I am now actually wondering, where to put the google-service.json file on
>> Cordova (no I am not updating our plugin), but I have no clue what is
>> matching the native 'app' folder in Crodova land, is it WWW foldeR?
>>
>>
>> https://github.com/jboss-mobile/unified-push-helloworld/tree/master/cordova
>>
>> hrm...
>>
>>
>
> There is no native folder on a cordova project, but we can put something
> in the plugin.xml that will install / copy it into the native project:
>
> <resource-file src="src/android/google-services.json" target="google-services.json" />
>
>
> https://github.com/aerogear/aerogear-cordova-push/blob/master/plugin.xml#L64
>

ah! that could work


>
> Don't know what the content is of this file seems the
> https://github.com/jboss-mobile/unified-push-helloworld/pull/31 demo
> doesn't have this google-services.json
>

yes, that's correct. It's up to the developer to actually put the file into
that "/app" folder.

Would this work on Cordova too ?


>
>
> --
> Cheers,
>        Erik Jan
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20160609/b9cdc53e/attachment-0001.html 


More information about the aerogear-dev mailing list