Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Push notification Android

Posted on by

Hi Community,

I'm trying to implement push notification in Dynamics Marketing

I  configured an Android Firebase Project, I created an android app and deployed it on a device.

In Dyn Marketing I configured a Mobile app, Android, as described here: https://docs.microsoft.com/en-us/dynamics365/marketing/real-time-marketing-push-notifications and the "Android Status" turns to be "Valid Connected".

This is what I see:

pastedimage1636750678156v2.png

I performed the device registration as described here: https://docs.microsoft.com/en-us/dynamics365/marketing/real-time-marketing-developer-push#device-registration-for-android-applications using as UserId the contactId and I can see a Mobile device record got created for the app:

pastedimage1636750772872v3.png

I configured then a push and using the "Test Send" and selecting the app and the contact I receive a screen pop-up "Test message has been sent successfully"

pastedimage1636750525651v1.png

However I never receive the notification on the device.

Sending the notification directly from the Firebase console, works like a charm.

Could you please help me understand what am I doing wrong?

Thanks for your help!

  • Stark Profile Picture
    Stark 25 on at
    RE: Push notification Android

    Thank you for your reply but still its not working , appId is correct

  • RE: Push notification Android

    Hi,

    I'm sorry I configured the app only once and I'm neither an Android dev :-(...

    Anyway, from the error, seems there's a problem with the AppId as it is configured in Marketing.

    Did you check the appId is correct ? I'm referring to "34a1635c-a87a-ed11-81ac-000d3a3411d3" ...

  • Suggested answer
    Stark Profile Picture
    Stark 25 on at
    RE: Push notification Android

    Hey,

    i am trying to implement push notification android in Dynamics Marketing and I  configured an Android Firebase Project, I created an android app and Run it on a device , i have get Android validation status : valid but when i am trying to device registration " https://docs.microsoft.com/en-us/dynamics365/marketing/real-time-marketing-developer-push#device-registration-for-android-applications" flowing this step but i got error

    {
        "success"false,
        "errorCode""AppNotFound",
        "errorMessage""App 34a1635c-a87a-ed11-81ac-000d3a3411d3 does not exist"
    }

    its a urgent can you please help me to solve this issue

  • Suggested answer
    Stark Profile Picture
    Stark 25 on at
    RE: Push notification Android

    Hey , Donato Gagliarde  

    can you please help to solve issue i am trying to implement push notification android but i have get Android validation status : Invalid !

    pastedimage1670917653425v2.png

    Thank you

  • Suggested answer
    RE: Push notification Android

    Hi Eugene,

    The sample code Donato is referring to is now public and you can find it here:

    learn.microsoft.com/.../real-time-marketing-developer-push

  • Suggested answer
    RE: Push notification Android

    Hi Eugene,

    The sample code Donato is referring to is now public and you can find it here:

    learn.microsoft.com/.../real-time-marketing-developer-push

  • Eugene Pretorius Profile Picture
    Eugene Pretorius 20 on at
    RE: Push notification Android

    Hi Georgios Balafoutis,

    Please any assistance would be greatly appreciated, we are looking to demo the functionality to a customer we are contracted to.

    KR,

    Eugene

  • Eugene Pretorius Profile Picture
    Eugene Pretorius 20 on at
    RE: Push notification Android

    Thank you Donato Gagliarde, I hope Georgios Balafoutis can help.

  • RE: Push notification Android

    Hi Eugene Pretorius  

    I had a chat with Georgios Balafoutis who provided me with a sample android app (with source code) I used to solve the problem. The sample app was developed internally in Microsoft and I'm not sure if this can be shared externally. Georgios Balafoutis  could you please help what are the terms & conditions for the app?

    Regards,

    Donato

  • Eugene Pretorius Profile Picture
    Eugene Pretorius 20 on at
    RE: Push notification Android

    Hi,

    Could you please provide any information that may help with Donato Gagliarde  problem, we have the same issue.

    KR,

    Eugene

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans