0 Replies Latest reply on Oct 26, 2016 2:03 AM by ceroonet98264508

    Push notifications (FCM) on Phonegap Builder

    ceroonet98264508

      Hello,

       

      I'm trying to activate push notifications through FCM. I'm using the Phonegap Builder online to build the project.

       

      I added google-services.json archive to the main directory but I have to add this lines to the build.gradle archive:

       

      dependencies {

        compile 'com.google.firebase:firebase-messaging:9.6.1'

      }

       

      I think gradle archive is built by default in builder but I would like to know if can I add some line to config.xml or something similar to add the line to the build.gradle archive.

       

      Please do you have any solution? It's being very difficult to add push notifications to my app and to use the online builder of Phonegap.

       

      Thanks.