Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Implementation of push messaging in Android

sinan2
Level 1
Level 1

Hi all,

 

based on the official documentation https://aep-sdks.gitbook.io/docs/using-mobile-extensions/adobe-analytics-mobile-services#set-up-push... 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

Mobile App Analytics push messaging
1 Accepted Solution
Ivan_Mironchuk
Correct answer by
Employee
Employee

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

View solution in original post

2 Replies
Ivan_Mironchuk
Correct answer by
Employee
Employee

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

View solution in original post

sinan2
Level 1
Level 1

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