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 ...
2
votes
Not redirecting to Salesforce login page while opening the app
Same steps worked well for me and I see the login screen when I launch the app. I see the following error in your log
The node package shelljs is required to use this script. Run 'npm install shelljs'...
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 ...
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/...
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 ...
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) ...
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,...
2
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 ...
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 ...
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.
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
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.
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 ...
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 ...
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 ...
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).
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 ...
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 ...
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";...
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 ...
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!
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 ...
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 ...
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 ...
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 ...
1
vote
Cordova SalesforceSDK - Icons & splash screens not working
I have solution about icon. You have to rename your icon image as 'sf__icon.png' and paste that file to all the resource folders. Then just run your project. The icon image will be changed.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cordova × 62marketing-cloud × 24
mobilesdk × 17
salesforcemobilesdk-ios × 15
mobilepush × 12
mobile × 9
ios × 8
sfdcmobilesdk-android × 7
android × 6
mobilepush-android × 6
salesforce-sdk-hybrid × 6
mobilepush-ios × 4
push-notification × 4
hybrid × 4
javascript × 3
salesforce1-app × 3
push × 3
salesforce-sdk-android × 3
ionic × 3
visualforce × 2
community × 2
phonegap × 2
journeybuilder × 1
jquery × 1
connected-apps × 1