6 votes
Accepted

Mobile Push Device ID Android SDK

The Deviceid is unique to the device and assigned upon install of the app. if the app is deleted and reinstalled a new deviceid is assigned
EazyE's user avatar
  • 8,295
5 votes
Accepted

MessageOpened not woring on Android and iOS 10

Based on your comment in response to my original question in comments: Please enable analytics when you call configureSdk(). This will result in analytics data being transmitted to the ...
Bill Mote's user avatar
  • 4,956
5 votes
Accepted

How can we remove Bluetooth permissions from Push SDK safely for SDK 15+

The version of the SDK you were previously using had a bug with regards to the Bluetooth dependency and as a result the library had to be included no matter what. That has been resolved and you can ...
Bill Mote's user avatar
  • 4,956
5 votes
Accepted

Android Studio Warnings with ExactTarget SDK 4.6.1

You are correct! The EnclosingMethod flag was missing from our Proguard config file. I have raised this issue internally and it will be resolved in an upcoming release. This could make it into a ...
Bill Mote's user avatar
  • 4,956
5 votes

Cannot redirect to a WEB URL from push notifications

While Zak's answers isn't incorrect, it does require a bit more discovery once you click the links he provided. To be specific to the original question, in the Android SDK you will need to provide an ...
Seth's user avatar
  • 931
5 votes

Can Salesforce update the MCCordovaPlugin to support Geofencing?

In your fork of the plugin you would need to follow all of the steps from https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/location/geolocation.html not just adding the feature ...
Seth's user avatar
  • 931
4 votes
Accepted

JB4A-SDK-Android Device-Registration not working

If you have more than 1 service declared in your application then there's a Google bug in their GcmReceiver which may be getting in your way. See https://salesforce.stackexchange.com/a/128740/16482 ...
Bill Mote's user avatar
  • 4,956
4 votes
Accepted

OpenDirect in MobilePush not working properly Android

Since your code is a direct copy from the coding example in our documentation then I would assume that you have not created a notification channel with the channel id of "UrlNotification." If your ...
Seth's user avatar
  • 931
4 votes

cordova-plugin-marketingcloudsdk fails to install

Make sure you're providing all necessary configuration values as specified in the documentation https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin/blob/master/README.md#installation. ...
Seth's user avatar
  • 931
4 votes

Marketing Cloud Push Notification not received on Android

For most devices, removing the app from recents will have no effect on whether the app can receive a push message. For some device models, I have seen that removing an app from recents is treated the ...
Seth's user avatar
  • 931
3 votes
Accepted

MobilePush fails to send push notification

Check the docs for Push Configuration Troubleshooting: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/trouble-shooting/trouble-shooting-push-setup.html One of the most common problems ...
Bill Mote's user avatar
  • 4,956
3 votes

Send push notification to mobile from lightning app

Actually, the question is about sending push notification from a Lightning app. The provided link is for native and hybrid mobile apps (not Lightning apps or Lightning pages). To clarify, Lightning ...
Gaurav Kheterpal's user avatar
3 votes
Accepted

Initialize Mobile Push SDK twice in Mobile App

Both the Android and iOS support the ability to switch between different business units, but there is no support for multiple business units to be active at one time.
Seth's user avatar
  • 931
3 votes

Xamarin app integration with native app

I know we've corresponded in other channels, but adding my note here to help others. Xamarin integrations are not supported by the MobilePush SDK team. Method binding is the responsibility of the ...
Brian M. Criscuolo's user avatar
3 votes

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

This should be possible, although there has been no testing around this use-case with the Cordova plugin. The native platform SDKs for the Marketing Cloud support multiple push providers so you ...
Seth's user avatar
  • 931
3 votes
Accepted

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

You can register a listener to be notified. See NotificationManager.NotificationMessageDisplayedListener In your application, you could set a tag (ref. Device/Contact Registration) based on the ...
Bill Mote's user avatar
  • 4,956
3 votes

Disable PUSH notification (opt-out) from SDK

The docs say yes. Trust the docs.
Bill Mote's user avatar
  • 4,956
3 votes

Sometimes the contact key is not updated

The only requirements for Contact Key are that it is not null, does not contain only whitespace characters and that it is less than 100 characters in length. We do not currently enforce the length ...
Bill Mote's user avatar
  • 4,956
3 votes

How to track app version of device for MobilePush

You would need to make a custom attribute in your mobile push demographics and update your sdk to pass this information You can then create a mobile filtered list to see which contacts have which ...
EazyE's user avatar
  • 8,295
3 votes
Accepted

How to call Mobile App Event from the App?

Well, we had the same error. It happens that EventManager is of the wrong type. This will work : val event = com.salesforce.marketingcloud.sfmcsdk.components.events.EventManager.customEvent("Your ...
François Perret's user avatar
2 votes

Send push notification to mobile from lightning app

Yes, Yes it is. There are two ways of doing this. First, is to use the Marketing Cloud's JB4A SDK for either Android or IOS. The second is to use the core platform's push notification features. I ...
Kevin P's user avatar
  • 7,188
2 votes
Accepted

Unknown PUSH_ACTION for ETPushService: com.google.android.c2dm.intent.RECEIVE

Version 4.8.5 resolved the issue with Google's GCM Receiver. You no longer have to manually declare the ETPushService in your manifest. Please remove the manual declaration and allow the manifest ...
Bill Mote's user avatar
  • 4,956
2 votes
Accepted

HTML decode Marketing Cloud title

Two things are at play here. First off, the fact that your title is arriving on the device with the apostrophe escaped is a bug in the Marketing Cloud UI that has been fixed, but not released. Second ...
Seth's user avatar
  • 931
2 votes
Accepted

SystemToken/PushToken null when setting MobileMarketingSdk on Android

After setting MarketingCloudSdk.setLogListener(MCLogListener.AndroidLogListener()) I was able to see the exception, and found out that I was setting the senderId wrong within the initialization ...
JRafaelM's user avatar
  • 151
2 votes
Accepted

On Android how to group notifications with Marketing Cloud SDK

Notification groups are not directly supported by the Marketing Cloud SDK, but you can implement the code necessary for them via the SDK's NotificationManager.NotificationBuilder. See http://...
Seth's user avatar
  • 931
2 votes
Accepted

salesforce-marketingcloud android push no

The issue I've encountered is post_prepare hook not firing which means com.salesforce.marketingcloud.cordovaplugin.MCCordovaPluginApplication never inserted into AndroidManifest. The workaround is to ...
Serge Tk's user avatar
2 votes
Accepted

Marketing Cloud SDK - geolocation fence error

This issue was identified a few days ago. There is a fix that will be published in the upcoming SDK release. I'll update this post once it is released.
Seth's user avatar
  • 931
2 votes

Android - Recieving all push notifications, not distinguished by TAG

There are 2-3 Tags set for an Android device by default: ALL and Android for non-debug builds and and additional Tag of DEBUG for debug builds. Similarly, ALL, iOS and DEBUG will be set for iOS ...
Bill Mote's user avatar
  • 4,956
2 votes
Accepted

Marketing Cloud Mobile Studio Subscriber key

You are correct; Subscriber Key is the 1 value that allows you to reconcile contacts between Email Studio and Mobile Push. How/where you get/store that data is up to you, but you will need to call ...
Bill Mote's user avatar
  • 4,956
2 votes

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

It's already resolved. To be able to see the heads-up notification: for api < OREO : you have set priority high to the builder and set the vibration: NotificationCompat.Builder builder = ...
user65556's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible