0 Replies Latest reply on Jul 25, 2016 8:06 AM by damodars18717003

    How to integrate with GCM for push notifications.




      I am using phonegap-plugin-push to receive notifications and GCM to send them. All works fine on Android, not so good for iOS. I have uploaded p12 APNS certificates to GCM, I am also supposed to add GCM-config-file.plist into the project, as it is written on GCM's website "The file contains configuration details, such as keys and identifiers, for the services you just enabled. Drag the GoogleService-Info.plist file you just downloaded into the root of your Xcode project and add it to all targets. ".


      How do I add it to the build?


      I have seen promising config-files xml tag but documentation is too criptic for me in order to use it.


      This is the content of the .plist file


      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

      <plist version="1.0">







          <string>bundle id</string>


          <string>project id</string>












          <string>google app id</string>




      Also the bundle id is com.homies in the case of my app. Is it valid in phonegap?