Questions tagged [sdk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

Send push notification to only one device when a user's logged in multiple devices

I'm looking for some ways to send push messages to only one device when a contact is logged in multiple devices.(ipad, iphone..etc), and I'd like to specifically target the last logged-in one. I found ...
0 votes
1 answer
27 views

SFMC MobilePUSH SDK error setKeychainAccessibleAttribute

I implement mobile application which plug with SFMC SDK, according to SF guild from this link sf ref: https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS/blob/v8.0.10/LearningApp/...
-1 votes
0 answers
18 views

Fatal Exception: java.lang.NullPointerException

Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'void com.salesforce.marketingcloud.analytics.stats.b.a(java.util.Date)' on a null object reference com.salesforce....
0 votes
0 answers
22 views

Marketing cloud Mobile Push app connection

I'm currently connecting my client's app into MobilePush to send push notifications. I've added APNs.p8 Auth Key, Key ID, Team ID, Bundle ID. For both IOS & Android, it seems enabled as below. ...
  • 21
0 votes
0 answers
32 views

Crash Exception java.lang.NullPointerException: 'void com.salesforce.marketingcloud.analytics.stats.b.a(java.util.Date)' on a null object reference

Crashes reported in production by Google Play Console This issue has been around at least since July 2022 but likely earlier. Unfortunately I cannot provide a reproducible sample as it appears to be ...
  • 11
1 vote
1 answer
36 views

Unable to update to 8.0.9 with SPM

We have been including SFMC via SPM in our projects. Version 8.0.9 was released recently, but our projects, which are configured to automatically pick up these minor updates, have not picked this ...
  • 11
0 votes
0 answers
15 views

Permission request to device contact list

In the new versions of MobilePush SDK (8.0.7) is the device being asked for permission to access the contact list? Our App started making this request and we are suspicious that it could be the SDK.
0 votes
0 answers
33 views

Why only in first install of application the registrationManager is send in Marketing Cloud SDK Android?

Hi in the past of my app we were using phone number as ContactKey but in February this changes to a personal UUID generated and stored in database. This is an example like with the phone number ...
0 votes
0 answers
30 views

How can I download the chat transcript from the Service SDK in Android

I'm currently integrating the Salesforce Service Chat SDK in an Android app. The chat SDK version I'm using is 4.3.3. I will like to know if it is possible to download the chat transcripts from the ...
  • 31
1 vote
0 answers
69 views

Mobile SDK Error after upgrade to 8.x

Bill Mote: question on SF support Case #43394050 We are getting an occasional error after upgrading to 8.x in the Prod (Testflight) unit. Fatal Exception: com.salesforce.security.keychainException ...
  • 11
0 votes
0 answers
34 views

Hide Settings Icon in iOS through Cordova hooks

I am following these steps Hide Settings Icon in iOS hybrid remote app to remove the setting ICON by editing the AppDelegate+SalesforceHybridSDK.m I am making changes in this path ../platforms/ios/...
0 votes
0 answers
113 views

Error running force:org:create: SLACK is not a valid Features value

I'm learning Apex SDK for Slack and I'm trying to setup the SFDK project. I'm following the documentation (https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/run-sfdx.html), but ...
  • 1
0 votes
0 answers
23 views

Mobile Push SDK version issue

Our backend needs to send messages initiated by it (PUSH / EMAIL). A C# SDK documentation (https://github.com/salesforce-marketingcloud/FuelSDK-CSharp) was analyzed, which by the understanding is a ...
0 votes
1 answer
137 views

React Native SDK IOS - Error

I need help installing the SDK in the IOS application. An error is appearing in the process of performing the "Build" We follow this documentation: https://github.com/salesforce-...
0 votes
0 answers
66 views

Updating analyticsEnabled after SDK initialization

I am trying to implement the MarketingCloudSDK for our iOS app and have a question about initialization of the SDK. We need to set the analyticsEnabled value in the ConfigBuilder during initialization ...
1 vote
1 answer
140 views

Mobile App Event Tracking not Triggering Journey [iOS SDK]

There is a similar question about this but it does not have helpful answer to solve my problem. So I registered an event and set that event in the journey builder to send push notification once i have ...
0 votes
1 answer
152 views

iOS Salesforce Mobile SDK Native Swift - can we change Logout Behaviour?

I am using all the latest and greatest : XCode 13.2.1, Salesforce Mobile SDK 10. I am writing a native iOS Swift app and I wish to DEFER the Salesforce login to a point in the application that makes ...
0 votes
1 answer
262 views

MarketingCloudSDK - MobilePush SDK for iOS v8.x - crash

After I managed to fix the original crash “Cannot create an NSPersistentStoreCoordinator with a nil model” and now I get the following: *** Terminating app due to uncaught exception '...
0 votes
1 answer
368 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
201 views

Device ID on iOS

I have implemented marketingCloudSdk on Android, like this: MarketingCloudSdk.requestSdk(new MarketingCloudSdk.WhenReadyListener() { @Override public void ready(MarketingCloudSdk sdk) ...
0 votes
1 answer
25 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.
0 votes
1 answer
661 views

MarketingCloudSDK crashes

Everytime I try to configure the sdk, aka: try MarketingCloudSDK.sharedInstance().sfmc_configure(with:builder) , it crashes with this error: Terminating app due to uncaught exception '...
  • 101
0 votes
1 answer
660 views

AWS SDK for SalesForce

We are attempting to use an installed package to access Amazon S3 - AWS SDK This package created an Apex Class: S3 Our Named Credential was created using the information specified in the link above, ...
1 vote
1 answer
199 views

Pardot SDK for python after Feb 15 login change

We are using Pardot SDK (package: Pypardot) to pull and update data from Pardot API (version 4). Since the authentication change was implemented, the SDK method of Pardot is not supported anymore and ...
  • 399
1 vote
1 answer
818 views

Can we use React Native version of the SDK for Mobilepush?

We're using an iOS and Android app with Mobilepush. The Engineering team has already built the app code in React native version. If they use the react native version of the sdk would they get same ...
1 vote
1 answer
109 views

Get Contact ID from Mobile SDK on Android/iOS

I'm trying to pass the Contact ID to a dimension for tracking Analytics. How would I go about getting the Contact ID value from Salesforce? I'm using the MarketingCloudSDK pod
  • 13
2 votes
1 answer
50 views

Is there a way to get MarketingCloudSDK-iOS from Carthage?

We need to implement MarketingCloud for our native iOS app and we are currently using Carthage to manage our dependencies. Is Salesforce MarketingCloud supporting this? I cannot find the info anywhere....
  • 123
3 votes
0 answers
113 views

Firebase version of latest Salesforce Service SDK is outdated

We have noticed that latest Service SDK https://github.com/forcedotcom/ServiceSDK-Android/releases/tag/224.0.0 seems to still be using Firbase 17.3.0. Can anyone know when the Service SDK team will be ...
1 vote
0 answers
63 views

Android Live Chat pre-chat field form screen shows duplicate views when exiting

I recently implemented the Live Chat UI from the Android SDK, and have encountered an issue where it appears that when showing the screen for pre-chat fields to the live chat, upon exiting the pre-...
  • 11
-3 votes
1 answer
986 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 ...
0 votes
0 answers
125 views

login problem in the Android Mobile app

Steps to reproduce Login into the application. Do complete few service appointments assigned to the technician. Logout from the application keep the login page open. do not kill the application and ...
0 votes
1 answer
179 views

Error uploading comunity user photo (avatar) from cordova forcehybrid app using Chatter REST API

I have been struggling for a couple of days creating an hybrid app with salesforce mobile sdk with the ability to change the avatar. I tried using methods from force.js with networkPlugin(reqest): ...
1 vote
1 answer
102 views

React SDK Contact Registration

Using the React SDK for MC Push is there a way to Delay Registration using the iOS SDK? There is a method to update Contact Key, but it's unclear how this works. If the Contact is registered already (...
1 vote
1 answer
162 views

How to know if the GeoPush activate successfully?

I followed instructions in the official document to set my SDK, below is the response result. I wonder from this response how to know that the GeoPush activate successfully? Thanks! { "Analytics ...
0 votes
0 answers
406 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. ...
2 votes
1 answer
136 views

Need to know approach on best way to develop Salesforce SDK app with fully functional offline capabilities

We have requirement to build mobile with fully functional offline capabilities. As currently Salesforce1 has limited offline functionalities. We have decided to use the Mobile SDK to build the custom ...
  • 21
0 votes
2 answers
573 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 ...
0 votes
0 answers
41 views

Mobile Push Registrations: Sales cloud: Salesforce SDK register the connection token but after 45 days the key gets deleted

The connection tokens automatically gets deleted after the invterval of 45 days. Please find the screen shot. the connection tokens gets deleted after 45 days. and for registration the new ...
0 votes
1 answer
65 views

How to trigger email through MobilePush SDK?

I'm trying to figure out how to send a Welcome email immediately after a user registers to my mobile application. Once a user registers, a unique identifier is created for them. We have their email ...
0 votes
1 answer
275 views

Getting the width of Email Content using the Block SDK

I have made a custom content block inside Content Builder using the Block SDK and I need to figure out the width of the space inside of the email (when editing) so I can set the width of the images ...
  • 313
1 vote
0 answers
30 views

Android SDK app should ask login only for first time

I am Android developer, I am using Salesforce SDK for android to connect with Salesforce data. I need to develop time punches app, In this user can punch in and punch out. In this case Android App ...
2 votes
1 answer
406 views

iPhone do not show as opt-ins into Salesforce Marketing Cloud Dashboard

After setting up the app and json file, I can not see the new device as an opt-ins into the MobilePush dashboard. However, I can see an interesting error into the console that may be related to the ...
0 votes
1 answer
116 views

MobileCloudSDK without CoreLocation

Apple is now requiring all apps that reference CoreLocation APIs to include the NSLocationAlwaysUsageDescription key on Info.plist explaining why the location framework is being used. When I uploaded ...
user avatar
1 vote
1 answer
315 views

Network request failed with status 401 MarketingCloudSDK for ios

I have created MarketingCloudSDK for IOS bindings in xamarin. I think that's working fine sdkstate looks good and deviceToken getting fine as well but still I am not able to see that contact in ...
1 vote
1 answer
275 views

MC Cordova Plugin sfmc_setContactKey

We are using latest version v6 of https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin. But when trying to create a contact, we don't see it in push contacts on Marketing Cloud. It looks as ...
1 vote
0 answers
62 views

Apple rejection based on method names

Apple has just rejected our app based on what they call "non-public API usage." In their email they identify a number of method names which they consider possible violations of their non-public API ...
2 votes
1 answer
249 views

Google Chart APIs

I Want to display graphs based on status like- Active,Bounce,Held, Unsubscribe and Date wise graph on sent, open status and then displaying breakup of subscribers count in Map. In Other words, ...
0 votes
0 answers
280 views

How to delete columns from a data extension using SDK

For example, there is a data extension has three columns, how can I remove AGE column? FN |LN |AGE Jack|Johns|12 Jane|Jones|24 Luke|Smith|15
0 votes
0 answers
675 views

iPhone not registering with Salesforce Marketing Cloud iOS SDK

I've implemented the iOS Push SDK in my app, and am initialising it, as according to the instructions here. However, the phone doesn't show up in the contacts list, and does not receive push ...
1 vote
1 answer
415 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. ...