Questions tagged [sdk]
The sdk tag has no usage guidance.
82
questions
0
votes
1
answer
37
views
Access SFMC sdk generated contact key in app
I am trying to figure out if it's possible to get the ContactKey that the SFMC SDK generates when a user installs and opens the app (with DelayRegistrationUntilContactKeyIsSet = false). With val ...
0
votes
0
answers
53
views
In the iOS app implemented using MarketingCloudSDK, When the app is in the background, there is an event that the app ends after a while
In an iOS app that implements push notifications and inbox messages using MarketingCloudSDK,
When the app is in the background, the app ends after a while,
There is an issue that the application will ...
0
votes
1
answer
81
views
mobile push SDK - contact key setting with cdp
Follow-up Question for: MobilePush SDK - Contact Key with using Data Cloud(CDP)
I'm going to set Contact key on mobilepush SDK in Marketing Cloud.
If I'm using MC and CDP together, do I need to ...
-1
votes
1
answer
188
views
Service feedback fail issue on Mobile app
I'm now on the process of developing a Mobilepush app SDK and still on the step of testing, there's a issue regarding Opt-out method. We keep failing to receive a push message because the system ...
0
votes
1
answer
61
views
SFMCURLTypeAction constant in sfmc_handleURL
I am implementing the sfmc_handleURL function (doc reference), and I found there are 3 possible constants for the type argument:
SFMCURLTypeCloudPage
SFMCURLTypeOpenDirect
SFMCURLTypeAction
What ...
0
votes
1
answer
33
views
How can I check if 'Addtags' function works properly in Marekting cloud mobilepush SDK?
I'm in now process of configuring Mobilepush SDK in Marketing cloud, and we're currently using 'Addtags/Removetags' function to verify the login status of contacts. Here are the URL regardging this ...
1
vote
1
answer
331
views
How can Install Vlocity DataPack (Explore & Checkout using Digital Commerce LWC)
I need to install Vlocity Data Pack "Explore & Checkout using Digital Commerce LWC"
but when i click next button to install it, it gives me "Import Error & Invalid Data".
...
0
votes
0
answers
169
views
When we put the app we created in the background after launching it on iOS, the app crashed in about 35 seconds
Please forgive me if there are strange sentences or rude expressions because it is an English translation by Google translation.
When we put the app we created in the background after launching it on ...
0
votes
1
answer
452
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
124
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/...
0
votes
0
answers
221
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.
...
0
votes
0
answers
127
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 ...
1
vote
1
answer
62
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 ...
0
votes
0
answers
25
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
58
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
...
1
vote
0
answers
91
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
...
0
votes
0
answers
30
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
275
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-...
2
votes
1
answer
286
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
279
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
383
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
583
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
346
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
32
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
1k
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 '...
1
vote
1
answer
1k
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
231
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 ...
1
vote
1
answer
1k
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
162
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
2
votes
1
answer
62
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....
3
votes
0
answers
117
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
73
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-...
-3
votes
1
answer
1k
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
171
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
193
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
119
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
186
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
580
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
165
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 ...
0
votes
2
answers
663
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
45
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
73
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
405
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 ...
1
vote
0
answers
33
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
459
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
124
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 ...
1
vote
1
answer
356
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
314
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
63
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
290
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, ...