Questions tagged [salesforcemobilesdk-ios]

Salesforce Mobile SDK - iOS deals with development of mobile iOS applications (native AND hybrid) using Apple's X-Code (objective-c) object-oriented language

Filter by
Sorted by
Tagged with
1 vote
2 answers
35 views

Mobile Push QUESTION - Contact Key

My DEV app team is making a change to the app so that unknown contacts will not be included in MC's all contact. This is done via the function setDelayRegistrationUntilContactKeyIsSet(true). How can ...
0 votes
0 answers
30 views

When user tries to logout using revokeAPI and when again tries to login, user get login to app without credentials iOS mobile app on SalesforceSDK

We have a Hybrid mobile app built on Cordova framework with Salesforce SDK to linked with the Salesforce CRM using API integrations. We found an issue when user tries to logout using revoke API, and ...
0 votes
0 answers
38 views

MarketingCloudSDK 8.0.9: Crash - missing UUID

Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11 Has this issue been fixed? This prior question's ...
  • 17
0 votes
1 answer
38 views

How to access the Mobile App Event Data Extension in Salesforce Marketing Cloud?

I am trying to find out the way to access the Data Extension created by Mobile App Entry Event through journey builder. my goal is to use this DE to link in attribute group.
1 vote
1 answer
170 views

Marketing Cloud SDK crash 8.0.11 Crash with error: Please add correct version of MarketingCloudSDK.bundle

I was previously using Marketing Cloud sdk 8.0.9 with MarketingCloud.bundle 8.0.8 which worked fine but my testflight build started crashing with error: Please add correct version of MarketingCloudSDK....
0 votes
0 answers
38 views

Salesforce SDK issues with Capacitor/Ionic

Asking because I can't seem to find a recent answer to this. Trying to incorporate the sdk with a new ionic/capacitor project. I was getting the "CocoaPods could not find compatible versions for ...
0 votes
1 answer
39 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
9 views

PreChatFieldTypes are not configurable inAppMessaging

PreChatFieldTypes TextField name FirstName --> _firstName LastName --> _lastName Subject --> _Subject Email --> _email not able to configure the title names I have searched for the ...
0 votes
0 answers
47 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
-2 votes
1 answer
35 views

SAlesforce Mobile App

Salesforce Mobile App: LWC Navigation to Standard New Record Page Errors when State Includes defaultFieldValues. What's the workaround for this?
0 votes
0 answers
32 views

In Marketing cloud after sen a push I got a status as failure (iOS)

[![Error I am getting after send push][1]][1] Steps I followed: step 1: check device id and connect id reflected in marketing cloud.(Details match with my sample data) step 2: I created new record in ...
  • 1
0 votes
1 answer
87 views

Marketing Cloud SDK iOS: SFMCSdk.mp.refreshMessages returns false & not triggering SFMCInboxMessagesRefreshCompleteNotification

Environment MarketingCloudSDK 8.0.9 SFMCSDK 1.0.6 We implemented the MarketingCloudSDK and SFMCSDK with SPM according to the documentation. Problem Description We receive Push Notification and In ...
-1 votes
1 answer
57 views

MarketingCloud crashing with CoreData failures

We're seeing MarketingCloud crashing on our app while trying to perform few CoreData tasks. Here are the 2 stack traces with errors that we see on Crashlytics: Fatal Exception: ...
0 votes
0 answers
37 views

Customize theme for Lock Screen controls and background on Salesforce iOS mobile SDK

Reporting this issue here as suggested by Salesforce Technical Support team. We have raised similar query on Github and link is shared below: Version of Mobile SDK Used: 10.2.0 Issue found in Native ...
0 votes
0 answers
18 views

Logout of hybridapplication using SalesforceMobileSDK

Logout of a hybrid remote application using SalesforceMobileSDK I am creating a hybrid remote application using SalesforceMobileSDK on iOS. The experience site is displayed. When I press logout on the ...
  • 9
0 votes
0 answers
54 views

Marketing Cloud Mobile SDK - issue with in-app messages

I am trying to implement the latest version of the Marketing Cloud Mobile SDK to start using In-app message and Inbox. I am facing some issues MarketingCloudSDK Version(3.6) -> In This Build Push ...
0 votes
0 answers
129 views

iOS MarketingCloud / SFMC SDK producing random app crashes

I have upgraded to MarketingCloud / SFMC SDK (v8.0.8 / v1.0.6) for a few months, recently we are getting more random app crashes reported by our customers and also on our monitoring tool. Looking into ...
  • 11
0 votes
1 answer
106 views

iOS MarketingCloudSDK 8.0.9 crash

We currently use MarketingCloudSDK 8.0.6 and SFMCSDK 1.0.4 in our production app with no issue. One of our marketing folks received the email about a bug fix in 8.0.9 that fixes a bug that affects &...
  • 17
0 votes
1 answer
124 views

Badge count is not increment/decrement in iOS App

We are migrating from Urban Airship to Salesforce MobilePush. I am using react-native-marketingcloudsdk, when I am sending push notification, the AppIcon Badge counts are not getting increment, also ...
1 vote
0 answers
64 views

SFMC Inbox marking message as Read status clears all notifications from the notification tray on iOS

We are using mobile studio to send Inbox Push notification with Alert + Inbox, the push notification arrives fine and we can call MarketingCloudSDK.sharedInstance().sfmc_getUnreadMessages() to ...
1 vote
1 answer
101 views

Crash on App start iOS version 8.0.8

We updated SDK version to 8.0.8 for using InApp messaging by method "trackEvent". Testing didn't catch crashes on app start. But we have a lot of it on production after release. We don't ...
  • 21
0 votes
0 answers
72 views

The links sometimes don't work correctly on iOS

I realised that sometimes the links in emails don't work correctly on the iOS. The links redirect to the App Store instead of the mobile app. Is there a workaround for that in Marketing Cloud? The ...
1 vote
1 answer
56 views

Implementing Salesforce SDK into EXISITING React Native Codebase

Everywhere I've look, including Salesforce Docs, it shows steps on how to create a new React Native project with the Salesforce SDK. I am having trouble finding any docs on how to get the Salesforce ...
-2 votes
1 answer
30 views

The "InboxMessages Methods" documentation is down

The "InboxMessages Methods" documentation. is down, is there any other place that has official documentation? https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/inbox/inbox....
0 votes
0 answers
34 views

Mobile App Event Tracking Payload

I'm implementing Mobile App Event Tracking to determine in which situation and screen my in-app messages should show, but when I received the payload from SDK the notification service with default ...
1 vote
1 answer
140 views

Mobile Push Sharing the same app in multiple business units

We currently have Mobile Push set up for a client in a certain way, and want to move to another setup. I'm looking for validation, on whether a certain mobile push setup is possible. Mobile app: There ...
-1 votes
1 answer
38 views

Multiple users single device - Mobile PUSH

I have a scenario, User A Logs out of the mobile app, and user B log-in the app using the same device. Then what will happen on the back end New Device ID will be created and assigned to User B or ...
3 votes
1 answer
280 views

SFMCSDK Mobile push SDK iOS crashes with the exception: com.salesforce.security.keychainException

We are seeing a crash on Crashlytics after upgrading marketing cloud SDK to 8.0.8 and SFMCSDK version 1.0.0 in the live version of app. Many users are affected. com.salesforce.security....
0 votes
1 answer
305 views

Crashing +entityForName: nil is not a legal NSManagedObjectContext parameter searching for entity name 'SFMCEndpointConfigurationEntity'

After Migrating the current mobile push SDK (iOS ) to the latest version, App started crashing on the launch with fatal exception NSInvalidArgumentException +entityForName: nil is not a legal ...
0 votes
0 answers
41 views

Is there a way to include user info along with cart tracking?

I'm using the mobile (Android/IOS) SDKs to implement the Track Cart and Track Conversion methods as described in the doc, but it seems i'm missing a way to include some extra user info. From the ...
  • 101
0 votes
1 answer
135 views

SFMCSDK breaking Xcode previews in Xcode 14

We are using the marketing cloud SDK (through SPM) configured as mentioned in https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration.html When using Xcode ...
0 votes
2 answers
175 views

Crashing after migrating to 8.0.0 with uncaught exception 'NSInternalInconsistencyException'

After Migrating the current mobile push SDK (iOS ) to the latest version, App started crashing on the launch with uncaught exception Terminating app due to uncaught exception '...
0 votes
0 answers
41 views

How to over-ride the community/site specific assetlink.json file in Salesforce

We need to ensure that Salesforce community page deep link in Emails/SMS sent to end user opens in a custom mobile app instead of in browser. this behavior is driven on the basis of 2 things: The ...
1 vote
1 answer
281 views

On IOS when the app is closed, when clicking on a received notification it won't go through the sfmc_handle method and it always open the app instead

We tried to implement the sfmc_notification system in our flutter app, we setup sfmc and set URLHandlingDelegate, we are receiving the notifications which contains a url to open (deep linking), but ...
1 vote
0 answers
106 views

SFMCSDK setPushEnabled is ignored

I'm trying to implement app settings for the SFMCSDK. I'm interested in softly disabling push notifications. I'm trying to call SFMCSdk.mp.setPushEnabled(false) and receive SFMCSdk.mp.pushEnabled() == ...
  • 111
0 votes
0 answers
35 views

Live chat: How to set the visitor name based on a prechat field on iOS

On the Salesforce mobile SDK for live chat, there is a feature on Android to set a "data provider" to set the VisitorName based on a prechat field: API reference On iOS, the SDK offers only ...
0 votes
0 answers
132 views

Please Help - Salesforce crashing on iOS 15

Recently we started to seeing many crash logs in our iOS app and the crash-free rate significantly dropped. If someone has similar problem or able to help will be greatly appreciated. I will attach ...
0 votes
0 answers
35 views

Not able to enable collection of latitude and longitude from the application

We are using the below piece of code to fetch the current latitude and longitude of the user: handleChangev1: function(component, event, helper) { console.log('latitude', component.get('v....
1 vote
0 answers
185 views

Getting error while building in xcode error: non-portable path to file

After migrating to SFMCSDK to v8 everything seem to work fine. But now I get the following error when building the project: <module-includes>:2:9: error: non-portable path to file '"Headers/...
1 vote
0 answers
61 views

Crash happening in SDK (iOS/aOS)

My team and I are launching a new version of SFMC SDK. After launching SDK 3.1.0 version, we have recorded 106k times of flashbacks and errors all pointing to not enough memory (Cursor window ...
  • 11
0 votes
0 answers
20 views

What is the possible reason that users kept receiving testing In-App Messages after the SDK went live?

My team and I are recently testing Push and In-App message in our new version of SDK. As mentioned, several of the end-users in our test list kept receiving testing In-App Messages. (Happening in both ...
  • 11
0 votes
0 answers
46 views

SFMCSDK giving result OperationResultTimeout

I am updating old mobilePushSDK with new one.version 8.0.5. -(BOOL) configureMarketingCloudSDK { #if DEBUG [SCServiceLogger sharedLogger].level = SCSLoggerLevelDebug; #endif PushConfigBuilder ...
0 votes
0 answers
105 views

MarketingCloudSDK | Inbox | Mark Message Deleted without effect

I migrated the MarketingCloudSDK from Version 7.5.1 to Version 8.0.6. With the SDK Version 7.5.1 calling sfmc_markMessageDeleted was working fine. After the call the inbox message was not delivered ...
  • 133
2 votes
0 answers
158 views

IOS Crashing with MarketingCloudSDK 8.0.6 and SFMCSDK1.0.4

I'm working with the latest version of marketingcloudsdk 8.0.6. I followed the documentation correctly, after some issues the push notification is arriving on the devices. There is sometimes a crash ...
0 votes
1 answer
57 views

How is transaction defined and how is Governor limit applied in Salesforce SDK?

I am creating an app with iOS using Salesforce SDK. How is transaction defined, and how is governor limit applied in this context? For example, I have an a.swift file where I am throwing API requests ...
3 votes
1 answer
742 views

Unable to login due to missing access token parameter for Identity Service - iOS

We have a growing number of users that are getting the following error on iOS after logging in to the connected app: "Server Error Can't connect to the server: The following required parameters ...
  • 617
1 vote
2 answers
240 views

Next-gen Migration from MarketingCloudSDK 7.6 to 8.0.x

I am following this migration guide (https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration.html) I removed the old SDK, added MobilePush and SFMCSDK via ...
1 vote
1 answer
305 views

Getting a random crash on iOS MarketingCloud/SFMC SDK

I recently updated to the Marketing Cloud v8.0.6 and SFMC v1.0.4. I am able to receive pushes but every once in a while will get a crash when setting the URLHandlingDelegate. Here is my current ...
1 vote
1 answer
413 views

No such module "SFMCSDK" after migrating to v8

I've followed the migration instructions for updating to v8 of the Marketing Cloud SDK. Docs here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration....
0 votes
0 answers
67 views

Implementation of PKCE with Salesforce Mobile SDK

I am looking into implementing the PKCE authorization flow using the Salesforce Mobile SDK with React Native. I know this is possible using REST API's, but I noticed that the SDK library has ...

1
2 3 4 5
8