Questions tagged [ios]

iOS is a mobile operating system developed and distributed by Apple Inc.

Filter by
Sorted by
Tagged with
7 votes
4 answers
17k views

How to save Base64 image data as salesforce attachment

We are integrating an IOS app with salesforce and need to upload image data by apex rest class. we packed image base64 data and other data into JSON string, then send it. Now we get the JSON data in ...
Allen Li's user avatar
  • 860
3 votes
2 answers
888 views

How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd time and many years later...)

I was struggling with mobile development from day one of Lightning Experience and the Saleforce Mobile app. Always I felt a huge pain and gave up mobile development and put my focus on desktop, ...
Uwe Heim's user avatar
  • 28.4k
1 vote
1 answer
339 views

Ways to fetched the credentials of the logged in user in Salesforce SDK iOS

Is there a way to get the details/credentials (email, password, name, etc.) of the logged in user using salesforce SDK or even third party libraries?. After allot of googling and searching, i found ...
Aldrin Equila's user avatar
11 votes
3 answers
2k views

Connecting Native ios app to Salesforce1?

I would like to connect my native ios app (objective C/ Bluetooth Low Energy) in Salesforce1 platform (not as custom app). How do I do that ( publisher action or global actions or canvas apps) ?. Can ...
Srinivasu Julakanti's user avatar
6 votes
2 answers
6k views

OAuth 2.0 username-password flow: Is the access token long lived?

I am a newbie to Salesforce. I am planning on implementing username-password OAuth 2.0 flow in my iOS app. I am getting access_token after calling https://login.salesforce.com/services/oauth2/token ...
EmptyStack's user avatar
4 votes
1 answer
268 views

ios - can't insert a new record to remote using smartsync sync up

I'm developing in native iOS. I use SmartSync to sync up local soup to salesforce server. It works fine when updating to remote, when the record to be updated exists in remote. But it doesn't work ...
Steve's user avatar
  • 41
3 votes
2 answers
136 views

ExactTarget library duplicated symbol IOS

Hi everyone, I am trying to implement ExactTarget from SalesForce MobilePush and encountered a problem. Inside the static library contains ET's sqlite and at the same time my app is also using custom ...
Dsw's user avatar
  • 33
3 votes
1 answer
346 views

Can I call SFRestRequest more than once from within ViewDidLoad method?

I want to executue two or more SOQL queries from the ViewDidLoad method, e.g., return a particular list of customers, return a particular list of cases etc. How can this be done? I have experimented ...
Bartley's user avatar
  • 5,257
3 votes
2 answers
657 views

URLScheme for Salesforce Mobile (iOS)

We have an iOS app and I'd like to link to a Salesforce record in the Salesforce Mobile app rather than sending the user to Safari. Does the Salesforce Mobile app have a URLScheme so that 1) we can ...
hemmeter's user avatar
  • 898
2 votes
1 answer
72 views

Duplicate symbol between ExactTarget and third party

I have a similar problem to the issue mentioned in this SE post, with 197 duplicate symbols found. The problem is that in my app sqlite3 is implemented by another third party product (IBM Worklight) ...
Lean van Heerden's user avatar
2 votes
1 answer
453 views

Access custom labels from Native iOS app

We are developing Native iOS app which is using Salesforce SDK. Is there a way to fetch custom labels from Salesforce using SDK ? (like using RESTapi)
Onur Var's user avatar
  • 235
2 votes
0 answers
131 views

What is the fastes way to completely reload an Aura Component during debugging for iPhones after code changes? How to avoid any caching?

After doing some debugging of an Aura Component on a real iPhone, I went almost crazy because I needed to kill/restart the Salesforce mobile app at minimum 2 times and sometimes even more often to ...
Uwe Heim's user avatar
  • 28.4k
1 vote
0 answers
827 views

Disabling push notifications for user per device on iOS SFMC SDK

I want to disable push notifications for a given user when they log out of my app. I only want to disable notifications for the particular device they logged out of, not for their entire account. I'...
Kingsley's user avatar
1 vote
1 answer
326 views

OpenDirect ETInternalLandingPagePresenter

I'm developing this app for iOS which will make use of openDirect with different urls. "Also, please note that setting an OpenDirect Delegate will negate the automatic webpage loading feature added ...
drigonlac's user avatar
1 vote
1 answer
459 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....
Rohan Mehta's user avatar
1 vote
1 answer
224 views

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

We have been using 8.0.8 build and it was working fine till yesterday but all of the sudden, our Nightly builds releasing to TestFlight start crashing. So we have tried to update our SDK to 8.0.11 ...
Ankit Thakur's user avatar
1 vote
1 answer
351 views

sfmc_handleURL is not working for iOS with react-native-marketingcloudsdk

When I click notification which having OpenDirect URL, it's not triggering sfmc_handleURL method in AppDelegate.m. Kindly find out below code for the implementation. AppDelegate.h #import <React/...
rkaartikeyan's user avatar
1 vote
1 answer
247 views

MarketingCloudSDK iOS (v6.4.1) Crashes in SFMCNetworkRequest

Getting a fair amount of crashes from v6.4.1 of the MarketingCloudSDK via our third party crash reporter Crashlytics. On the order of a few hundred since this was released. All the effected users ...
Patrick McCarron's user avatar
1 vote
1 answer
890 views

MarketingCloudSDK iOS 8.0.2 - Unable to upload to App Store Connect

I have an iOS app that uses the MarketingCloudSDK. I have updated to SDK to the latest version (8.0.2), removing the pod from Podfile and adding both SFMCSDK and MarketingCloudSDK through Swift ...
jacobowl's user avatar
1 vote
1 answer
209 views

Automate bundle copying/linking of MarketingCloudSDK.bundle in SPM

While upgrading from MarketingCloudSDK 7.x to 8.x, I noticed these instructions: Manually pull in the Resources/MarketingCloudSDK.bundle from the sources folder in the Mobile Push SPM and link it ...
Jerrot's user avatar
  • 133
1 vote
1 answer
869 views

How to set custom frame to iOS Salesforce Login Screen(UIWebView)?

I'm showing Salesforce login screen in my iOS native application, but their login screen (WebView) is covering my entire custom screen and I'm not able to show the status bar and navigation bar at top ...
Guturu Ganesh's user avatar
0 votes
1 answer
811 views

Why MarketingCloud and SFMC fail only in Release?

I'm trying last versions sfmc-sdk-ios (1.0.2) and MarketingCloudSDK-iOS (8.0.2). When compiling and uploading to testflight sdks doesn't work. The configuration is like this: SFMCSdk.initializeSdk(...
Marcelo Junior's user avatar
0 votes
1 answer
136 views

Can I use FMDB libraries from SmartStore?

I have a project with SQLite. I am using FMDB with SQLite. I installed FMDB in the project with a pod. Now, I have to use Salesforce. I can install Salesforce SDK with pods. BUT, I can´t use FMDB ...
CesarRN's user avatar
  • 11
0 votes
1 answer
131 views

Getting Error for Update Mobile Push Application in iOS

I'm releasing an iOS App with Mobile Push, and I would like to update my iOS App by changing to a new Mobile Push application. I created a new Mobile Push application in MarketingCloud, change ...
Dora_Takeshi's user avatar
0 votes
1 answer
125 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
0 votes
1 answer
246 views

Salesforce MarketingCloud SDK/MobilePush SDK Data Protection Modes

I see in the documentation of Marketing cloud: The MobilePush SDK supports three privacy modes that may affect your application’s usage of MobilePush. Right to be Forgotten Restriction ...
Anton Unt's user avatar
  • 121