As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [mobilepush-android]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
340 views

Displaying in-app mobile push messages while app is in active use

Hi everyone I would like to know if there's a way to send mobile push in-app messages that will appear instantly in the app screen without the need for the user to close the app and reopen it again. ...
Barak's user avatar
  • 173
1 vote
1 answer
433 views

Can we manually track that a notification was opened?

I'm using Salesforce mobile push alongside with Firebase Messaging. Since I'm building the notifications manually on FirebaseMessagingService, I'd like to know if there's a public method to track the ...
douglas.iacovelli's user avatar
2 votes
0 answers
298 views

Xamarin support for MobilePush SDK [duplicate]

I want to re-ask this question that is 3 years old. In the year 2020, does SalesForce provide Xamarin library for MobilePush SDK, or still only platform-specific libraries for iOS and Android? We ...
Phil's user avatar
  • 21
1 vote
1 answer
1k views

Tapping on the notification does not launch the App if the App is killed/closed forcefully after getting the notification

MobilePush (Android) SDK (v.7.1.0) We are using Full Control Customization Notification handling by following the document noted here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-...
zkglr's user avatar
  • 13
0 votes
1 answer
214 views

Sometimes the contact key is not updated

I'm using Marketing Cloud to send push notification to our Android users. I also need that the contact key is valorized as userId when the user performs the login. So in the same transaction, I update ...
filo's user avatar
  • 1
0 votes
1 answer
567 views

Marketing Cloud SDK android Learningapp not working

First,i want to perform mobile push in marketing cloud. so i found this Learningapp and i follow through the procedures. https://github.com/salesforce-marketingcloud/MarketingCloudSDK-Android Heres ...
Android11's user avatar
0 votes
1 answer
273 views

Marketing Cloud Cordova Plugin - Inapp notification

We are using Marketing Cloud Cordova Plugin for sending push messages from Marketing Cloud. When we send the push message, it appears in the notification bar of the phone. I want to check if we can ...
Chandan's user avatar
  • 641
0 votes
1 answer
189 views

MobilePush Push Notification and InBox relationships

We want to use InBox feature only on iOS and Android applications (without push notifications). Based on the LearningApp sample there is no option to disable push notifications during initialization ...
Ilya's user avatar
  • 3
-3 votes
1 answer
1k views

Disable PUSH notification (opt-out) from SDK

We want to create a setting inside our app that let our clients enable/disable PUSH notifications permission sent by MC (commercial PUSH). We need this because we also send transactional PUSH ...
LorenaSM's user avatar
0 votes
0 answers
891 views

Opens in mobile push are not reflected in marketing cloud

Recently we have created and integrated an android app into the Mobile push of Mobile Studio. We have implemented the Marketing Cloud Mobile Push Android SDK in the app. Additionally, to implement ...
Sapna S Mishra's user avatar
0 votes
0 answers
487 views

Open Count - MobilePush Marketing Cloud

I had noted an issue with the Analytics Open Count on push notification on IOS/Android Devices. The methods from docs available are already implemented, but notification opens are not being recorded. ...
rodrigofreitasit's user avatar
1 vote
1 answer
86 views

Setting Data Privacy modes from Android MarketingCloud SDK

I need to be able to set one of 3 data protection modes from an Android client that uses the MarketingCloud SDK. I understand based on this that there is no way to do this via the SDK directly, and ...
mondakuwar's user avatar
2 votes
2 answers
965 views

How to know if a push notification has been read or at least delivered in Marketing Cloud?

I added a push notification in my JB and my requirement is to send an SMS after some hours if the subscriber did not open or see the push notification. Is there a way to get this information any how? ...
eeadev's user avatar
  • 295
4 votes
3 answers
745 views

Salesforce update 6.x.x(Updating to FCM) :Failed to retrieve InstanceId from Firebase message,systemToken always null

I am in the process of updating to the latest Salesforce SDK 6.3.5(Also the same with 6.4.0,latest version) from our old sdk which used GCM. I have gone through the steps as mentioned below: https://...
Anupama VK's user avatar
1 vote
1 answer
581 views

MarketingCloud MobilePush SDK 6.3.5 dependency cannot be resolved

Our Android project is currently using the 6.3.4 SDK. However when trying to update to the latest version 6.3.5 we get an error: Could not find com.salesforce.marketingcloud:marketingcloudsdk:6.3.5. ...
J Jimenez's user avatar
1 vote
1 answer
337 views

Application Not Responding while reading Inbox Messages on Android App Start

I'm using Marketing Cloud SDK (Mobile Push) v6.1.0 But I'm receiving a lot of ANRs as observed on Google Play Store performance reports. ANR is observed while we are reading InboxMessages using ...
charlie's user avatar
  • 115
0 votes
1 answer
145 views

Salesforce Marketing Cloud - MobilePush - Cordova Plugin Android integration Issue

I am trying to integrate Salesforce Marketing Cloud SDK with Android using Cordova Plugin. But I am getting gradle build issues. Below is the Error: ERROR: Unable to resolve dependency for ':app@...
Ryan's user avatar
  • 31
2 votes
1 answer
117 views

Can Salesforce update the MCCordovaPlugin to support Geofencing?

from https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/location/geolocation.html MarketingCloudSdk.init(this, with(MarketingCloudConfig.builder()) { // Other configuration ...
RAMON SANTIAGO's user avatar
0 votes
2 answers
2k views

Cannot redirect to a WEB URL from push notifications

We need to build a push notification that redirects to a web link when you click it. Anyway, when I create a push notification from the content builder, I have an option to select an open behavior, so ...
Omri Brandes's user avatar
0 votes
1 answer
973 views

Marketing Cloud Push Notification not received on Android

I have implemented the Marketing Cloud SDK in an mobile application using the Marketing Cloud cordova plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) and i have contacts being ...
Samuel Alves's user avatar
1 vote
1 answer
101 views

Is it possible for both MCCordovaPlugin and FCMPlugin to co-exist?

Specifically we would like our Mobile Hybrid App to be able to receive Push Notifications from Salesforce MarketingCloud MobilePush, but to also have the ability to send Push Notifications, using the ...
RJS's user avatar
  • 11
0 votes
2 answers
617 views

Marketing Cloud SDK Implementation Not Working [closed]

I'm trying to implement the marketing cloud SDK on Android. Doing that, I need to set up firebase in my app. as written in the SDK implementation tutorial, the SDK works only with firebase-core ...
Omri Brandes's user avatar
2 votes
1 answer
280 views

Xamarin app integration with native app

We are working on a POC to integrate Xamarin app with SFMC mobile Push. Since SFMC Mobile push SDK is not available for Xamarin framework, we are following the binding approach to integrate Xamarin ...
Rohit Verma's user avatar
0 votes
1 answer
768 views

Android - SalesForce marketing cloud SDK proguard issue

In native Android application, I have this release build crash, related to the SalesForce Marketing cloud SDK implementation: Fatal Exception: java.lang.IllegalAccessError: Method 'boolean com....
Stoycho Andreev's user avatar
0 votes
1 answer
211 views

How can I send analytic event about "push open" in SF Android SDK

The issue description: I am trying to implement SF SDK in commercial Android application where I have custom implementation of the SF SDK. I handle the presentation and the opening action of the SF ...
Stoycho Andreev's user avatar
1 vote
1 answer
564 views

Mobile Push Device ID Android SDK

Is the DeivceID that is visible in Marketing Cloud (on Contact) after registering a device via MobilePush SDK is unique to the device or is it a system generated value?
jc_mc's user avatar
  • 768
1 vote
1 answer
483 views

Device ID Error

we had set up a app in mobile push, however, when a new applier install the app, the contact shows in all contact including wrong device ID which it's actually contains in system token. Not sure how ...
Victoria Wang's user avatar
0 votes
0 answers
131 views

Cordova Plugin crashes the app on launch

I'm having some problems with MC-Cordova-Plugin. When I install it, it crashes the app. Whithout it the app runs seamlessly. With the plugin installed, I can build it with no problems, but when I try ...
Murilo Pereti 's user avatar
2 votes
1 answer
782 views

cordova-plugin-marketingcloudsdk fails to install

I'm just making a quick test on this plugin. I've created an empty apache cordova app, made the setup on firebase and installed the following plugin: https://github.com/salesforce-marketingcloud/MC-...
Ricardo Ferreira de Andrade's user avatar
1 vote
1 answer
1k views

OpenDirect in MobilePush not working properly Android

I'm trying to send a notification with URL from MobilePush in Marketing Cloud with OpenDirect feature. When the user clicked on an alert notification. I want a web page or landing page to show on ...
Napathorn Kaeokomonmarn's user avatar
1 vote
1 answer
131 views

Migrating from v5.6.2 to v6.1.0

Due to the April 11 deprecation of GCM client and the deprecation of SDK versions below 6.x.x of Mobile Marketing Cloud SDK, we're migrating our SDK versions. I'm having trouble implementing and ...
Anthony F's user avatar
1 vote
1 answer
450 views

SFMC Android Handling Notifications not through the SDK

I'm working with an app vendor who for some reason doesn't want to let the SDK handle the Marketing Cloud push notifications in their onMessageReceived method in their notification service. ...
mercifulhop's user avatar
1 vote
1 answer
438 views

The push notifications does not appear with pop. They appear only minimized

I've followed the steps to configure push notifications that I've seen here https://salesforce-marketingcloud.github.io/JB4A-SDK-Android/notifications/customize-notifications.html but the push ...
user65556's user avatar
0 votes
1 answer
104 views

How to stop contact registration from Android App to Salesforce marketing cloud?

How do I stop auto contact registration from Android app into marketing cloud. I've already integrated android app with sales cloud and also storing device id etc. in sales cloud. Same is subsequently ...
ASHISH's user avatar
  • 536
1 vote
1 answer
322 views

Marketing Cloud PushSDK Attributes not updating

I'm implementing the Android PushSDK. I have the following code in my main activity: MarketingCloudSdk.requestSdk(sdk -> sdk.getRegistrationManager() .edit() .setContactKey("123456"...
mercifulhop's user avatar
2 votes
1 answer
448 views

Marketing Cloud Mobile Studio Subscriber key

I'm trying to understand how I can do targetted push notifications from Marketing Cloud within a journey. I'm having a hard time understanding how will I identify specific people and setting their ...
Andrei Barany's user avatar
1 vote
1 answer
581 views

Initialize Mobile Push SDK twice in Mobile App

I have a use case where I need to send a push notification to the same mobile app from two different business units. For that, I created a Mobile Push app under Mobile Push administration in both ...
zeljazouli's user avatar
  • 1,048
1 vote
1 answer
104 views

Android - Recieving all push notifications, not distinguished by TAG

I've setup the MC Sdk, I am recieving notifications as intended. The thing is that if I send a notification only to one specific Tag I am not subscribed to, I get the notification anyway. While ...
Agustin Madina's user avatar
5 votes
1 answer
1k views

Marketing Cloud Mobile Push SDK - Switching app user

I'm currently building a clienteling app that integrated the Mobile Push SDK on both iOS and Android and encountered some issue on switching the account. I found that when I login to user A, and set ...
Parker Liu's user avatar
1 vote
3 answers
95 views

Marketing Cloud SDK - geolocation fence error

I try to receive a push notification when I'm in a specific place but each time the Marketing Cloud SDK send my position to his API service it sent the request with a wrong syntax. Currently the ...
Frogmouth's user avatar
  • 200
0 votes
3 answers
264 views

Android push notification opening is not counting when customize the notification builder

I have an app set up for Android, and it's working well except for 1 thing,when I override and customize the notification builder, the android app is not counting when the user opens the notification,...
Nguyễn Đại Dương's user avatar
0 votes
1 answer
248 views

Android Redirect to URL (ADFS) issue

I am facing an issue while login with ADFS.Showing Blank Page in Android. Steps: Change Server -> Add Connection -> Added my custom salesforce server. then i can able to view the Login Page. In login ...
MukeshNaidu PoThUlA's user avatar
1 vote
0 answers
508 views

Push Notification send but not retrieved on android mobile [closed]

As I have added every code for push notification as per the document from mobile sdk for android in my app. In my developer org i got the message notification sent successfully but i didn't received ...
Azhar osws's user avatar
0 votes
1 answer
579 views

How to register users for mobile push notification

I am trying to create an ios app for mobile push notification using the following resource: https://developer.salesforce.com/docs/atlas.en-us.pushImplGuide.meta/pushImplGuide/pns_overview.htm What I ...
Madhurima's user avatar
  • 1,195
1 vote
0 answers
784 views

Mobile push message in not getting delivered

I am trying to send mobile push through app in marketing cloud, however it is being delivered. It says it has been send however the send count is zero. I have implemented mobile push SDK in the ...
Afaque Alam's user avatar
1 vote
1 answer
397 views

Marketing Cloud Cordova Plugin SetAttribute and clearAttribute - Intermittent Value Update

I've implemented MC Cordova Plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) for push notification through Marketing Cloud for hybrid mobile app, but encountering problems to ...
Lyon Stark's user avatar
2 votes
0 answers
114 views

NPE causing crash using Android marketingcloudsdk 5.3.+

Facing this kind of crash while using MC 5.3.+ Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.salesforce.marketingcloud.MCReceiver: java.lang.NullPointerException: Attempt ...
JRafaelM's user avatar
  • 151
0 votes
1 answer
584 views

Android push notification opening is not counting

I have an app set up for iOS and Android, and both are working well except for 1 thing, the android app is not counting when the user opens the notification, then MarketingCloud does not take that ...
JRafaelM's user avatar
  • 151
0 votes
1 answer
671 views

SystemToken/PushToken null when setting MobileMarketingSdk on Android

I've finished setting up the MobileMarketingSdk on Android to send PushNotifications, and after a few tries, I'm still not able to have the contact properly added to the contacts, while debugging I ...
JRafaelM's user avatar
  • 151
2 votes
0 answers
305 views

Android Marketing Cloud SDK crashes randomly: MAC stored in civ does not match computed MAC

I'm using the Marketing Cloud SDK v5.4 for Android Push Notifications. My implementation is modeled completely after the sample code. On App start, the sdk initializes and I'm able to receive push ...
Marty Miller's user avatar