Questions tagged [mobilepush-android]
The mobilepush-android tag has no usage guidance.
168 questions
0
votes
0
answers
17
views
Salesforce Android SDK do not call onNewIntent method inside activity once I tap on notification
Salesforce Android SDK do not call onNewIntent method inside activity once I tap on notification, it always call onCreate method even app is in foreground
Please find below code once I prepare ...
0
votes
0
answers
54
views
Mobile Push SDK - silent push
We are implementing SFMC mobile push SDK and mobile dev are having an issue.
In android - push notification works only when the app is active.
when app is closed + in lockscreen - push notification ...
0
votes
2
answers
73
views
How to Log Unsubscribe Events for Mobile Push Notifications When Users Opt Out
I'm working on mobile push notifications, and I'm looking for a feature similar to the "log unsub event" that exists for email. Specifically, I want to ensure that if a user opts out of ...
1
vote
1
answer
45
views
SFMC Push SDK - Registration Confirmation
Has anyone found a mechanism for confirming the push registration is actually successful in SFMC via the SDK or via App?
As per the documentation - https://developer.salesforce.com/docs/marketing/...
0
votes
1
answer
129
views
"MismatchSenderId" for Android platform when sending push notifications
We are currently facing an issue with sending push notifications to Android devices. In the push extract, we encounter a "SenderId mismatch" error with a status of "Fail". This ...
1
vote
1
answer
307
views
New Authentication Pattern for Android Applications and SFMCSdk Android version
During latest spring release SF announced some changes regarding Sending Services related to Android Sending. So basically we need upload Firebase Config File (Service Account JSON) for each Android ...
0
votes
0
answers
91
views
Push notifications not recieving in android in hybrid app
We are developing an hybrid app in ionic and we want to implement push notifications feature using this plugin(https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin).We have followed all the ...
0
votes
0
answers
229
views
SFMC Mobile Push - some Android devices are getting registered as Not opted in with Missing or Invalid Device Token error
We are experiencing an intermittent issue where some of our Android users are getting registered as Not Opted in with Missing or Invalid Device token error. Just to give a reference around 758 records ...
0
votes
0
answers
111
views
React Native Marketing Cloud Sdk Status showing Not opted in
I am trying to implement marketing cloud SDK (8.0.0) in react native 0.68. SDK initialized successfully. but the status shows as Not Opted in. I don't know how to resolve this.
Notification not ...
2
votes
1
answer
248
views
SfmcSDK Error: Fatal Exception: java.lang.IllegalArgumentException: Receiver not registered
I've been testing push notifications on Android and got the following log on crashlytics and logcat. Important to note that I've received the notification successfully and had no problems opening the ...
0
votes
0
answers
239
views
SFMC push notification not opening application
I'm working on an application build in flutter framework.
I'm using sfmc_plugin (https://pub.dev/packages/sfmc_plugin) for mobile push.
Everything is working fine for iOS build but for Android build ...
0
votes
1
answer
140
views
InApp message appears unexpectedly when opening the app
So, we have implemented delayed displaying of InApp messages. It is done pretty much the way it is shown in documentation, inside Application class onCreate():
private suspend fun initSalesforce() {
...
2
votes
0
answers
479
views
Firebase Cloud Messaging API (Legacy) scheduled to be decommissioned in June, 2024 [closed]
I use SFMC Android SDK for the apps in my company and we have received a notification from Firebase stating that the Legacy HTTP protocol will be decommissioned soon. When looking through the ...
0
votes
0
answers
144
views
React Native Notification not receiving when app is in the background
Notifications are working fine with iOS. But in Android, background notifications are not received. Since it is a data-only notification I am using some third-party plugins to show it as local ...
0
votes
0
answers
48
views
MarketingCloud SDK - Xamarin Android- Couldn't access subtitle field
I'm currently working with the Salesforce Marketing Cloud SDK in my Xamarin project. In the SDK response, I notice that the subtitle field is missing, even though I've set it in the SFMC dashboard.
0
votes
1
answer
394
views
How to set receiving mobile push notification in system notification in Android
I'm integrating Salesforce mobile push in react-native application using the official library
https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk
I used firebase cloud ...
1
vote
1
answer
490
views
Does anyone knows how to use Mobile App Events?
We have integrated the Mobile Push SDK into our mobile application, and we can confirm that the mobile events are being sent correctly. We have thoroughly reviewed our implementation and confirmed ...
1
vote
1
answer
353
views
Push notifications stops working after a while
I am implementing the SFMC Push notifications on our app and we successfully implemented it (multiple sdk, contact key registration and stuff works okay) but we noticed that after a while (hours or 1, ...
1
vote
1
answer
130
views
Android SDK: APP_FOREGROUNDED and APP_BACKGROUNDED behaviors is never triggered
So, I have implemented SFMCSDK inside Application onCreate() the way it is written in a documentation, also aligned code with sample projects and another project where functionality works as expected. ...
0
votes
0
answers
327
views
Accessing Custom Keys on a SFMC push notification in React Native Android
I have finally managed to fix the implementation of push notifications using the SFMC SDK. The problem I am now having is that our implementation uses custom fields to send deeplink information to the ...
0
votes
1
answer
178
views
Android - SalesForce marketing cloud SDK proguard/dexguard issue
I'm having a problem receiving callbacks from push notifications: when i'm in the production environment and with dexguard enabled.
Fatal Exception: java.lang.NoSuchMethodError: No direct method <...
0
votes
1
answer
347
views
Opens not registered for Android push notifications
We have implemented Android and iOS SDK's in Marketing Cloud, but for some reason, opens for Android devices are not registered.
After multiple support cases, we are still in the same scenario, we ...
0
votes
1
answer
232
views
Remote message is received but not able to display push notification to user
On verifying salesforce SDK logs, we understood that when we set an anonymous subscriber key to the salesforce SDK profile ID, we received push notifications with the valid SDK log status response ...
2
votes
1
answer
386
views
How to configure right contact key for MobilePush - Marketing cloud
I am facing issue in getting the right Contact Key in Marketing cloud for mobile push
So here is the scenario - Recently we noticed that MC was populating with the correct SF contact key for some push ...
0
votes
0
answers
267
views
Open Rate for App Push Notification is showing as 0% for iOS and Android
Currently, we are facing the challenge that the open/open rate is coming as 0 in Salesforce. We have also set SFMCSdk.mp.setNotificationRequest(response.notification.request) But we had not enabled ....
1
vote
0
answers
149
views
MobilePush Android SDK(8.0.8) causing higher application wakeups and device battery consumption
We upgraded to SFMCSdk Android (8.0.8) from the previous version and since it was released, we have received alerts on Google Console of excessive wakeups on our application, which implies excessive ...
-1
votes
1
answer
443
views
Mobile PUSH SFMC - Images not coming on Android 13
Do we need to set up Rich media for Android too? Images are not coming for android 13 and Beyond
0
votes
0
answers
697
views
MobilePush Android SDK(8.0.8) not receiving Push Messages
I have integrated Mobile Push SDK (8.0.8) in my Android App. It is not able to receive push messages sent from Marketing Cloud Mobile Push. I am initializing the SDK in the onCreate of my Applicatinon ...
0
votes
0
answers
246
views
Manually track open push open rates
we are building a flutter app and integratin the SFMC plugins with our own plugin. We try to keep as much coding as possible in flutter/dart and we are also using firebase messaging. We have setup ...
2
votes
0
answers
393
views
How can I send analytic event about "push open" in Android SDK
I want to share a problem that I have been looking for a solution for a long time.I have checked all the steps in this document Integrate the SDK 10 times. There is no page on the internet that I ...
1
vote
1
answer
144
views
Documentation for Android Interactive Notification Icon
We could find documentation for iOS Interactive Notification in this link https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/push-notifications/interactive-notifications.html.
But there ...
0
votes
2
answers
758
views
How to set accent color for Push icon in Android with react-native-marketingcloudsdk
I am using react-native-marketingcloudsdk library in my React native project, For android to set the default_notification_color I have tried both AndroidManifest.xml & firebase.json ways, but ...
0
votes
1
answer
659
views
Android - Firebase Cloud Messaging API (V1)
Created new firebase project for my app and I'm considering using a new FCM V1 API, but in SalesForce MobilePush setup it requires Server Key to start sending push notifications.
Question is where i ...
2
votes
2
answers
805
views
How to call Mobile App Event from the App?
We have a Android App (Kotlin) and we declared Mobile App Events in Journey Builder.
We created a Journey with an entry source configured to respond to one of our Events and are struggling to trigger ...
1
vote
0
answers
70
views
Best practice to store credentials for Marketing Cloud Mobile SDK
What would be the best practice to store the credentials such as appId and access token for Marketing Cloud Mobile SDK?
If we hard code it directly inside the app, do you think there is a security ...
1
vote
0
answers
541
views
Debug push error using SFMC SDK
I'm testing to send push notification from SFMC to mobile app using the app configured in MobilePush with FCM server key and APNS p8 Auth Key set.
I sent a test push notification using Mobile Push:
...
1
vote
1
answer
500
views
How to track app version of device for MobilePush
For MobilePush is there a way (e.g. a standard field that I could discriminate) to see the version of the app the user logs in with? The reason is to be able to know on the marketing platform whether ...
2
votes
0
answers
148
views
Mobile App Event not triggering Journey
We have enabled mobile app events in our salesforce instance.
We have followed all the required procedures to setup the events, creating and uploading a csv file, etc as shown below. Then we created a ...
1
vote
1
answer
423
views
Is it possible to track In-app messages on MobilePush SDK?
My team is implementing MobilePush, and we are facing some difficulties regarding analytics.
We checked the official SFMC MobilePush documents (both Android and iOS) , Android Javadocs, and iOS ...
0
votes
1
answer
207
views
Calling setIdentity in SFMCSdkReadyListener crashes with UninitializedPropertyAccessException
I can share more information if needed. At the moment, I don't know what I need to share.
The Library version is 8.0.4
Fatal Exception: kotlin.UninitializedPropertyAccessException: lateinit property ...
3
votes
1
answer
446
views
Fatal Exception in Marketing Cloud SDK (Android) - RejectedExecutionException
We are using Salesforce SDK 8.0.4. In the recent release, we have RejectedExecutionException.
I am not sure if it is related but we started reconfiguring Salesforce when the user changes their ...
0
votes
1
answer
149
views
Send push message to Android without sound
just wondering am i able to send push notification to android device without notification sound? Like silent push or just without sound it doesn't matter. I don't see any documentation writing about ...
1
vote
1
answer
1k
views
Second push notification message does not open
I encountered a problem where the app is closed completely, and I start the first notification it opens where it needs to open, but when I tap the second notification, nothing happens. Notification ...
0
votes
1
answer
707
views
On Android in-app messages are not shown when the App is already in foreground
We noticed that if we send a message while the app is running, the SDK does not try to handle it until the app is put in background and back to foreground.
Our question is if there is a way to let the ...
0
votes
1
answer
694
views
Marketing Cloud SDK 8.0.3 crash
I'm using com.salesforce.marketingcloud:marketingcloudsdk:8.0.3 and I have the following crash in some devices:
java.lang.IllegalStateException:
at com.salesforce.marketingcloud.MarketingCloudSdk....
1
vote
1
answer
536
views
MobilePush SDK 8.0.1 crash
Using com.salesforce.marketingcloud:marketingcloudsdk:8.0.1 leads to crash on users devices with
Fatal Exception: java.lang.NullPointerException
salesforceKeyGenerator.getEncryptionKey(...
0
votes
1
answer
33
views
Minimum version of Android on devices for Mobile Push
What is the minimum version of Android on users' devices that MobilePush supports?
I'm using SFMC Sdk for integration into my app.
1
vote
2
answers
121
views
Using MarketingCloudSDK 7.4.0 with a Mendix made Android Mobile Application
I'm trying to use MarketingCloudSDK 7.4.0 with a Mendix made Android Mobile Application. Mendix is a lowcode platform that uses ReactNative as framework.
Therefore, I'm using the react-native-...
0
votes
1
answer
106
views
How to get the message field in android
I am new to SFMC, and currently learning. I am trying to show push notification messages in app.
So far I am able to map most fields received as NotificationMessage but I couldn't find the message ...
0
votes
0
answers
190
views
Marketing Cloud Cordova SDK notification only showing silently
We are using the Marketing Cloud SDK Cordova Plugin in our app. Registering the contactKey works fine but when we send the push notification, although device is receiving it, we don't get a Pop up ...