<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: (fcm token) for Android push messages is not being re... in Adobe Campaign Standard Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/358341#M5721</link>
    <description>&lt;P&gt;Please contact support as&amp;nbsp;&lt;LI-USER uid="15728544"&gt;&lt;/LI-USER&gt;&amp;nbsp;commented.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2020 16:04:26 GMT</pubDate>
    <dc:creator>pablo_rosero1</dc:creator>
    <dc:date>2020-04-08T16:04:26Z</dc:date>
    <item>
      <title>(fcm token) for Android push messages is not being registered in Campaign</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/354206#M5719</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We've followed the documentation (&lt;A href="https://helpx.adobe.com/campaign/kb/configuring-app-sdk.html" target="_blank" rel="noopener"&gt;configuring app sdk&lt;/A&gt;&amp;nbsp; and&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://helpx.adobe.com/campaign/kb/config-app-in-launch.html" target="_blank" rel="noopener"&gt;config app&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://aep-sdks.gitbook.io/docs/" target="_self"&gt;aep docs&lt;/A&gt;&lt;/SPAN&gt;) and this tutorial (&lt;A href="https://github.com/AdobeDocs/campaign-learn.en/blob/master/help/acs/communication-channels/mobile/push-notifications/getting-started-push-notification-android/getting-started-with-push-notifications-android.md" target="_self"&gt;github getting started with push notifications android&lt;/A&gt;) and created and configured a sample android app to receive push notifications using fcm token provided by Firebase.&lt;/P&gt;&lt;P&gt;However, the device registration token (fcm token) for Android push messages is not being registered in Campaign.&lt;/P&gt;&lt;P&gt;We would like to emphasize that we’ve installed and configured all the necessary extensions, and published the corresponding library, referring the Launch property id on &lt;EM&gt;MobileCore.configureWithAppID()&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;We would like also to emphasize that we added the server key obtained from the corresponding configured app on Firebase.&lt;/P&gt;&lt;P&gt;On the app side, we would like to emphasize that we’ve installed all required AEP SDK and Firebase libraries, integrating the app with firebase (&lt;A href="https://firebase.google.com/docs/android/setup" target="_self"&gt;Firebase android setup&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;When we install and launch the app (both AVD or real android device), we are able to generate a new ECID to each new client app installed, but the device token (fcm token) for push messages is not being registered in Campaign, even though the method &lt;EM&gt;MobileCore.setpushidentifier(token)&lt;/EM&gt; being called on the main activity class that extends the &lt;EM&gt;MainActivity&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;And from the logcat, we can tell that the fcm token is being successfully retrieved from Firebase (see &lt;EM&gt;logcat_got_token.png&lt;/EM&gt;), before being passed to &lt;EM&gt;MobileCore.setpushidentifier()&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;We have already applied the troubleshootings provided (&lt;A href="https://github.com/Adobe-Marketing-Cloud/aep-sdks-documentation/blob/master/resources/troubleshooting-guides" target="_self"&gt;troubleshooting-guides&lt;/A&gt;), and we verified that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;an HTTP GET request to demdex passing the fcm token as a parameter is being made (see in the attached image &lt;EM&gt;fiddler_demdex_request.png&lt;/EM&gt;, the fcm token: d_cid highlighted in red), however, the fcm token is not being registered/synched with the corresponding ECID (see, in the Campaign_ECID_registered.png, that the registration token field for the corresponding ECID is empty). The response for this request is a 200 OK (fiddler_demdex_request.png).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We also made sure the privacy status is opt in: MobileCore.&lt;EM&gt;setPrivacyStatus&lt;/EM&gt;(MobilePrivacyStatus.&lt;EM&gt;OPT_IN&lt;/EM&gt;);&lt;/P&gt;&lt;P&gt;Other possible solution/implementation we’ve already tried without success:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Extending the Firebase Messaging Service Class and retrieving the token from there using the method &lt;EM&gt;onNewToken()&lt;/EM&gt;, and passing the retrieved token to &lt;EM&gt;MobileCore.setpushidentifier()&lt;/EM&gt; inside &lt;EM&gt;onNewToken()&lt;/EM&gt; method.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could anyone please help us with this issue?&lt;/P&gt;&lt;P&gt;Does demdex communicates directly with Launch (or campaign) for ECID and fcm token registration?&lt;/P&gt;&lt;P&gt;Does demdex tries to communicate with Firebase to validate the fcm token? (Because sending requests to demdex via postman even with "dumb" tokens returned 200 OK (see postman print)&lt;/P&gt;&lt;P&gt;Also, anyone knows what's the key "tid" in the response body of demdex request?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="logcat_got_token.PNG" style="width: 999px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/22503i1A8086A9C0D4925C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="logcat_got_token.PNG" alt="logcat_got_token.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fiddler_demdex_request.png" style="width: 999px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/22504i8E6E12FD9690102A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="fiddler_demdex_request.png" alt="fiddler_demdex_request.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Campaign_ECID_registered.png" style="width: 999px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/22505i2AF1FEA57ED328A4/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Campaign_ECID_registered.png" alt="Campaign_ECID_registered.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="postman_dumb_token.PNG" style="width: 999px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/22506iB269AF0F5A1CF299/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="postman_dumb_token.PNG" alt="postman_dumb_token.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 17:50:16 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/354206#M5719</guid>
      <dc:creator>vacosti</dc:creator>
      <dc:date>2021-10-08T17:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: (fcm token) for Android push messages is not being registered in Campaign</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/354866#M5720</link>
      <description>I think you have the same problem as we had, contacted support and they solved this issue with fcm token not getting registered properly in ACS mobile application</description>
      <pubDate>Tue, 25 Feb 2020 18:32:05 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/354866#M5720</guid>
      <dc:creator>Sebastiane_Edberg_</dc:creator>
      <dc:date>2020-02-25T18:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: (fcm token) for Android push messages is not being re...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/358341#M5721</link>
      <description>&lt;P&gt;Please contact support as&amp;nbsp;&lt;LI-USER uid="15728544"&gt;&lt;/LI-USER&gt;&amp;nbsp;commented.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 16:04:26 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/fcm-token-for-android-push-messages-is-not-being-registered-in/m-p/358341#M5721</guid>
      <dc:creator>pablo_rosero1</dc:creator>
      <dc:date>2020-04-08T16:04:26Z</dc:date>
    </item>
  </channel>
</rss>

