Implementation of push messaging in Android | Community
Skip to main content
francescob83277
January 13, 2020
Solved

Implementation of push messaging in Android

  • January 13, 2020
  • 1 reply
  • 4216 views

Hi all,

 

based on the official documentation https://aep-sdks.gitbook.io/docs/using-mobile-extensions/adobe-analytics-mobile-services#set-up-push-messaging related to the integration of the push messaging there is no mention about the fact that in order to receive push messaging it is necessary to create a class that extend FirebasemessagingService and implement the onmessagereceive method (explained here https://firebase.google.com/docs/cloud-messaging/android/receive). The result is that if we follow only the official instructions (retriving and send the token to mobilecore throught the setPushidentifier function) messages aren't received and showed in the application.

 

Could someome confirm that in every implementation it is necessary also to implement code to handle and show the messages sent by the Adobe Mobile Marketing console?

 

ThankYou in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by IvanMi1

Hi @francescob83277 - That is correct. The exact configuration necessary for receiving and displaying push messages is dependent on the steps you outlined on Firebase.

1 reply

IvanMi1Adobe EmployeeAccepted solution
Adobe Employee
January 13, 2020

Hi @francescob83277 - That is correct. The exact configuration necessary for receiving and displaying push messages is dependent on the steps you outlined on Firebase.

francescob83277
January 13, 2020

Hi Ivan,

 

could you forward to engineers of the request to update the official documentation with this information and possibly with an example class that handle the messages sent from the Adobe Mobile Marketing console?

 

In addition i saw that import classes are different in the official documentation from the real implementation; for example the mentioned class import com.adobe.marketing.mobileservices.*; doesn't exist; the verification log code to demdex don't expose the the pushidentifier of the device.

 

Thank you