I am beginner to maven and finding it difficult to migrate my project from gradle to Maven. For Push notification code, that I have using from below link in gradle environment is working fine:
But when I am trying to use it in my Maven and adding the following dependency to my pom.xml file. As suggested by following GITHUB link:
And when I am trying to define receiver in my manifest file, I am getting the error.Not able to import any of the Cloud Messaging API in my code.
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
Able to run in Gradle environment successfully but now due to some client requirement I need to migrate my project to Maven. And using the below version for GCM in my Gradle:
Please help me to resolve the error.If you need any more clarification, please do let me know. Thanks in Advance. Thanks for the help.