Skip to main content
3 votes

how to implement custom key in mobile app with sfmc cordova plugin

Please see the SDK documentation https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/push-notifications/custom-keys.html What you need is literally in the "see also" on the page you ...
Bill Mote's user avatar
  • 5,286
3 votes
Accepted

Why do we need the com.salesforce plugin for cordova apps?

The Mobile SDK is more than just database functionality. It gives you access to offline storage, camera, advanced gestures, notifications, device contact and calendars, and so on. You'll want to read ...
sfdcfox's user avatar
  • 497k
2 votes

Cannot send push notification to iOS device

The primary difference between iOS and Android when dealing with push notifications is the provisioning process and understanding Apple's APNS/Push process. The cause of your opt-out is probably or ...
Tom Brooks's user avatar
2 votes
Accepted

What is the minimum version of Cordova required to use the Marketing Cloud Cordova plugin?

To answer in short upgrade to the latest Cordova 7.x.x. but make sure you install the latest Android platform (Cordova Android 6.3.0) Reference here: https://cordova.apache.org/announcements/2017/09/...
Tom Brooks's user avatar
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 Cordova Plugin - Crash on iPhone 5 OS 10.3

We’ve released version 5.1.1 of the SDK which addresses a crash on armv7s device (like yours). Based on the crash log, we’re not precisely sure that it is the same crash (no symbols were generated) ...
Tom Brooks's user avatar
2 votes
Accepted

Missing required properties: notificationCustomizationOptions error when using MC-Cordova-Plugin on Android

If the plugin is unable to find ic_notification in your Android application's resources then it will not set the NotificationCustomizationOptions in the MarketingCloudConfig. If you haven't done so,...
Seth's user avatar
  • 941
2 votes
Accepted

Has anyone used the Mobile SDK with Capacitor?

Capacitor is not a platform we officially support, but I do know that customers are using it and we have not heard about any large blocking issues. Our upkeep of Cordova is minimal at this point but ...
Brandon Page's user avatar
1 vote
Accepted

Salesforce Marketing Cloud Mobile Push Cordova Plugin - Navigate subscriber to a particular screen in the app rather than home screen

The solution you seek will require you to override notification handling (ref. Android) and (ref. iOS).
Bill Mote's user avatar
  • 5,286
1 vote

MobilePush Notification for Marketing Cloud Cordova plugn not displayed

If you're planning on using Firebase's messaging in conjunction with the Marketing Cloud SDK then you're going to have to configure your project for Multiple Push Providers (ref. Multiple Push ...
Bill Mote's user avatar
  • 5,286
1 vote
Accepted

MC - Cordova - AppPush conflict issue

Version 8 of the SDKs is not supported in Cordova. Please see the documentation and use the 7.x SDKs as included in the plugin. UPDATE: the plugins for both Cordova and React have been updated to ...
Bill Mote's user avatar
  • 5,286
1 vote

MC-Cordova-Plugin support for Android 12 (SDK 31) - app crashes upon startup: java.lang.IllegalArgumentException

The MC Android Push SDK has been updated to support Android 12. This version can be used in both the Cordova and React plugins.
Bill Mote's user avatar
  • 5,286
1 vote
Accepted

Force logout and database clearing in background mode after 9.1.1+ Salesforce MobileSDK update

The problem was fixed in 9.2.1 version of Salesforce Mobile SDK
Denys Liubchenko's user avatar
1 vote

Getting "cross origin requests are only supported for http" error after login in salesforce based cordova hybrid ios app

Try to use Cordova-ios 6.0.0 or 6.1.0 and install following plugin from github cordova plugin add https://github.com/AraHovakimyan/cordova-plugin-wkwebviewxhrfix It works fine for me.
user14158864's user avatar
1 vote

Has anyone used the Mobile SDK with Capacitor?

I'm using capacitor 2, I implemented the SDK (MC-Cordova-Plugin) and on android it worked perfectly in the case of IOS I needed to include these lines of code in the AppDelegate: import ...
jorge sampaio's user avatar
1 vote

Has anyone used the Mobile SDK with Capacitor?

Using Capacitor 3.0.0-beta, it's work well with Android and I received the push notification with success. But at iOS it's not working yet and I'm testing and debugging to understand what the problem ...
Mauricio Klipe's user avatar
1 vote

Has anyone used the Mobile SDK with Capacitor?

UPDATE: after forking the plugin and making changes I have everything built and compiling. The app is registering in MC yet no client info is received nor do push notifications arrive in ios or in ...
pascalzon's user avatar
1 vote

Ionic Cordova windows 10 app with SalesforceMobileSDK

The Salesforce Mobile SDK does not windows. To get a native Windows app you could use a solution such as MobileCaddy (full disclosure, I work for them), there may be other solutions also. Apps built ...
Todd Halfpenny's user avatar
1 vote
Accepted

NSDictionary representing Inbox Message Structure

Through testing, I was able to log the following NSDictionary structure for Inbox each message in the NSArray: { alert = Test; contentType = 2; endDateUtc = "2019-04-25 16:49:00 +0000";...
StephenGodderidge's user avatar
1 vote
Accepted

Problems deeplinking out of the Salesforce App on Android

Copied from my Stack Exchange Answer: What actually definitively resolved this was going into the AndroidManifest.xml and setting android:launchMode="singleTask" on my main activity. I know that in ...
Rozgonyi's user avatar
  • 617
1 vote
Accepted

Marketing Cloud - Push Notification iOS Title Not Set

updated : I update the MCCordovaPlugin to the latest (downloaded from .zip file) from v.1.0.2 to v.1.0.3 and the title is displayed :) Thanks!
Gabriela Devita's user avatar
1 vote
Accepted

Marketing Cloud Cordova Plugin Push Notification Issue - iOS and Android

As you linked my thread I will give you few things I've learned from my issues with Android. 1)Make sure you have import {package}.R; in MCCordovaPluginApplication.java file. (otherwise it wont ...
Serge Tk's user avatar
1 vote
Accepted

Cannot send push notification to iOS device

I finally found the answer and it was quit simple : On Xcode, I had to go to App Settings -> Capabilities and switch Push Notifications to On. I was following tutorial to generate the right ...
elamy's user avatar
  • 23
1 vote

salesforce mobile sdk 5.0 CORS error while rest api using force.js

You did all the right configuration on the app side but you missed one on the Salesforce side. You need to register the app domain under Setup: Administer > Security Controls > CORS This ...
Gaurav Kheterpal's user avatar
1 vote
Accepted

Android Hybrid Remote App - On clicking Push notification open a specific app Page instead of Landing Page

Finally I was able to get a solution on this so in case anyone running into Similar situation, We need to utilise the "OnDeviceReady" event to achieve this, Steps involved in the Solution Since we ...
Ganesh Sawant's user avatar

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