Questions tagged [ios]

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

123 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
2 answers
6k views

Click and Touch events on <a> tags in Lightning

In Lightning, we should always be using e.force:navigateToSObject or e.force:navigateToURL instead of links like <a href="whatever>. So, I made a custom Link component to avoid having to have ...
Aidan's user avatar
  • 13.7k
5 votes
0 answers
593 views

Implementing ExactTarget Journey Builder with Swift

I'm trying to implement push notifications using the Journey Builder SDK in a Swift Application for iOS with the latest version of the SDK (4.1.0) https://github.com/salesforce-marketingcloud/JB4A-SDK-...
Puter's user avatar
  • 51
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
4 votes
0 answers
111 views

SFUserAccountManager loses its details in once app is terminated

I have an iPad app with Salesforcemobilesdk-ios integrated. First time, as soon as I login I set all the credentials in oauthCoordinatorDidAuthenticate method like this - - (void) ...
nOOb iOS's user avatar
  • 101
4 votes
0 answers
93 views

Cordova/iOS Capabilities

I tried searching for answers to my questions but I was unable to find any. I want to develop a native iOS application using cordova and I was wondering if it was possible to: Create a custom login ...
Ryan Sayles's user avatar
4 votes
0 answers
374 views

Unable to view Accounts in Salesforce1

In the Salesforce1 mobile app (iOs) when I select Accounts I receive the following message "Oops, we ran into some unexpected error. Sorry..." I am able to view all other objects just fine. If I go ...
Holtzy's user avatar
  • 41
3 votes
0 answers
67 views

MarketingCloudSDK-iOS repository has been Archived

The repository for the iOS MarketingCloudSDK has been archived: https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS Is there a replacement available? All the documentation I've found ...
tww0003's user avatar
  • 131
3 votes
1 answer
681 views

Mobile App crashes for iOS 16

Salesforce mobile app fails to launch after installing iOS 16 on the iPhone 12 and above.
E Murillo's user avatar
3 votes
1 answer
178 views

MarketingCloudSDK (5.2.1) iOS: duplicate symbol ___llvm_profile_runtime

I have just integrated the MarketingCloudSDK (5.2.1) via CocoaPods to an iOS app and I am facing a duplicate symbol error. Someone already had the same issue posted to the apple forum: https://...
theguy's user avatar
  • 131
3 votes
1 answer
412 views

Salesforce1 - Reset history with force:navigateToComponent

I am currently working on an app created with lightning components. My app includes five different components, which I call with force:navigateToComponent from each other. I added a lightning tab ...
Chris's user avatar
  • 41
3 votes
0 answers
583 views

Work around for window.open in Salesforce1 Android

I created a visualforce page that can be opened in SF1 via a tab in the navigation menu. This VF page has links to reports and dashboards that need to be displayed in standard layouts (not the SF1 ...
Nikilesh Kopparthi's user avatar
3 votes
0 answers
406 views

using url scheme how to redirect to a specific visual force screen of salesforce1 app

I have got the task to redirect to salesforce1 iOS app product catalog screen(which is a vf page)from my iOS app using url scheme.Any help will be appreciated. I have tried with below things but ...
Swagatika's user avatar
3 votes
0 answers
260 views

requests to https://test.salesforce.com/ are failing on ios 9

With iOS 9's improved security we are not able to connect to https://test.salesforce.com We get NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824) which based on ...
Charles B's user avatar
3 votes
0 answers
69 views

Salesforce1 client in iOS.. on opening an image or video, how to go back to previous screen?

In Salesforce1 app for iOS, when we open a image or video, it opens in a new screen. From there how to navigate back. In Android we have back button.
pooran's user avatar
  • 175
3 votes
0 answers
997 views

100% screen width not working properly in Salesforce1 on iPhone

I'm working on an app for Salesforce1. S1 has a menu on the left and a news feed on the right, both hidden until revealed by swiping the screen to the left or right. My body width is set to 100%, ...
Daft's user avatar
  • 2,661
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
2 votes
0 answers
188 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 ...
Mario Chiodi's user avatar
2 votes
0 answers
86 views

Mobile App Event not triggering Journey

We have enabled mobile app events in our salesforce instance. We have followed all the required procedures to setup the events, creating and uploading a csv file, etc as shown below. Then we created a ...
Victor Benetatos's user avatar
2 votes
0 answers
412 views

Can't upload app with MarketingCloudSDK 8.0.1 to TestFlight

I'm having trouble uploading the app to TestFlight with the latest MarketingCloudSDK 8.0.1. I get the following errors: ERROR ITMS-90685: CFBundleIdentifier Collision. There is more than one bundle ...
Dmytro Trofymenko's user avatar
2 votes
0 answers
175 views

Unable to scroll in Salesforce Mobile on iOS

We have a Lightning Component action on that navigates to another component to collect user information through a form. It was working well on desktop and mobile (both iOS and Android), but users are ...
yeselkay's user avatar
  • 321
2 votes
0 answers
108 views

Salesforce iOS SDK pin protection for connected app is not working

I have a connected app in developer org and have enabled the pin protection for that app. Using the new iOS SDK, I have created a ios application. Even if the pin protection is checked, the passcode ...
harshal jadhav's user avatar
2 votes
1 answer
512 views

How can I open Field Service Lightning from my own app?

I have one iOS app and I want to add a link to open Field Service Lightning app from there. Is there any URL Scheme like Saleforce1 has?
Daniel Pilla's user avatar
2 votes
0 answers
62 views

How to use built in actions Snap Ins SDK Swift

I'm following the documentation for Snap Ins SDK for iOS but I'm not understanding how to use built in actions. https://developer.salesforce.com/docs/atlas.en-us.noversion.service_sdk_ios.meta/...
Ed Kim's user avatar
  • 21
2 votes
0 answers
528 views

servlet/servlet.FileDownload and Zoom with iOS Salesforce1?

I'm just prototyping at the moment and I've created a link on an Apex page that when clicked will get documents on-premise via Azure Service Bus Relay. The contents are then return as base64 and an ...
Stephen Gray's user avatar
2 votes
0 answers
40 views

Automatic redirection to SF1 feed from Visualforce page

Does anybody know how to prevent automatic redirection to feed (sf1) after mobile device goes to "sleep" mode (screen goes black). When you turn on screen again and click to any menu in navigation, ...
Simon's user avatar
  • 376
2 votes
0 answers
247 views

How to implement OAuth for community user self-registration with email verification

My Requirement: I am creating a iOS native application that is using Salesforce Mobile SDK 3.3.1 I am using OAuth2 for authantication. This application should allow community user to Login and Self-...
VishnuMcube's user avatar
2 votes
1 answer
115 views

MobileSDK Native iOS - Check if user is admin or not

I'm working on a native iOS app using the MobileSDK. My app defers the login, that is, it does not occur right at the beginning of the app. From the home screen, users can tap either an "Employee" or ...
Aakash Jain's user avatar
2 votes
1 answer
69 views

iOS: MobileSDK3.2: Getting the Credentials after authenticating

I am newbie & trying to integrate SaleForce into our existing APP, need help in getting the credentials after authenticating. I am using the latest Mobile SDK 3.2 I followed the Mobile SDK ...
SKG's user avatar
  • 27
2 votes
0 answers
162 views

Keyboard unresponsive after textarea / input touch

I have a textarea within a VF page, as part of an app I'm working on for Salesforce1. When I touch the textarea on an iOS device, it freezes. The keyboard stays up, the cursor flashes inside the ...
Daft's user avatar
  • 2,661
2 votes
0 answers
321 views

Salesforce1 Mobile - using sandbox and production

I am currently able to setup Salesforce1 Mobile (S1M) to switch between production orgs, however I am unable to setup S1M to retain both my sandbox and my production logins so that I can switch ...
Bartley's user avatar
  • 5,257
2 votes
1 answer
117 views

How to get Dictionaries out of [SFQuerySpec newSmartQuerySpec:]

When i fire a smart query in iOS as shown below on a Contacts soup - NSString* const kContactsQuery = @"SELECT {Contacts:uid},{Contacts:firstName}, {Contacts:lastName}, {Contacts:phonenumber} FROM {...
iOSTech's user avatar
  • 31
2 votes
0 answers
244 views

upload image from ios app to notes & attachment

I would like to upload image to notes & attachement filed of a custom object via ios app. Tried to upload via apex class but it always upload it to the commom "document folder". struggling for ...
Nithya V's user avatar
2 votes
1 answer
269 views

Authentication page back button

I'm creating a feature that will help users to log SalesForce using my app. This is the code i'm using to load the authentication page: - (IBAction)salesForce:(UIButton*)sender { [...
Nimrod Shai's user avatar
2 votes
0 answers
35 views

passing a graph to iOS

Is there a way to pass a graph created by salesforce into iOS? I would like to be able to get Salesforce to create a graph from a report and then display this graph in my iOS native app.
Bartley's user avatar
  • 5,257
2 votes
0 answers
126 views

Effective login to our app via a smartphone?

Everyone in our corporation has a Federation ID (e.g. it ties corporate domain login to a Salesforce login) setup with Salesforce, so that we effectively have a single logon. This works great on ...
AngryHacker's user avatar
  • 1,481
1 vote
0 answers
31 views

IOS users cant reach VF page in the mobile app

I'm trying to open a component that redirects the user to VF page - on The Salesforce Application on the mobile. Android devices can be redirected successfully, while IOS users don't. Can anyone tell ...
Salvation's user avatar
  • 1,189
1 vote
0 answers
318 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() == ...
Yanny's user avatar
  • 111
1 vote
1 answer
185 views

ContactKey does not appear in Contact Builder -> All Contacts -> Mobile Push - React Native (IOS)

I followed all the steps in the react-native-marketingcloudsdk documentation, including activating the push, but the set contactKey does not appear in the Contact Builder. SDK log is returning, push ...
Ronald Silva's user avatar
1 vote
0 answers
185 views

iOS In-App Messaging integration Issue

We are implementing in-app messaging and we are facing into a very weird behaviour: We developed and tested the arrive of the In-app on a phone (iPhone12 mini OS 15.2.1 used for the developing phase) ...
Lorenzo Barranco's user avatar
1 vote
0 answers
60 views

MobileSync POST requests timing out

The POST Requests from Salesforce MobileSync SDK are timing out but the same GET Requests are not. Also, The request with same parameters works via Postman(Its an application used for API Testing). ...
Agent Smith'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
0 answers
102 views

Notification badge not clearing on iOS (using Cordova Marketing Cloud SDK plugin)

We're running into an odd issue with using the MarketingCloudSDK Cordova plugin on iOS. We're able to successfully receive a PUSH notification that appears in the notification shade, and we can see ...
bengrah's user avatar
  • 121
1 vote
0 answers
81 views

User gets logged out in SalesforceMobileSDK for ios connected app

I have an app based on ReactNativeTemplate. Token is valid until revoked. However since IOS 15 release users are logged out after 15 minutes of inactivity (Regardless of session settings which ...
Rodney's user avatar
  • 11
1 vote
0 answers
201 views

Automatically launch "call" dialog on iOS mobile devices when clicking an action button

A client of mine is attempting to use an Action Button on a Salesforce record page trigger a phone call to a relevant phone number. The button merely says "Call." I have gotten this ...
Naked Clothier's user avatar
1 vote
0 answers
30 views

Getting field-level security without apex coding in SalesforceMobileSDK

By declaring the Apex Class with sharing keyword, non-admin user can select or edit field-level security. How can i able to do this in mobile application only using SalesforceMobileSDK without ...
hhtk12's user avatar
  • 21
1 vote
1 answer
89 views

iOS - Error when executing sfmc_setEventDelegate

I'm getting this error log in some situations which I haven't identified yet. <MarketingCloudSDK+Base.m:(409)> iOS file protection is enabled and data is not available even after 5 seconds of ...
Tiago Bastos's user avatar
1 vote
0 answers
128 views

MarketingCloudSDK iOS (v7.2.1) Crashes in SFMCNetworkRequest

Getting a fair amount of crashes from v7.2.1 of the MarketingCloudSDK via our third party crash reporter Crashlytics. Probably had about 20 crashes since we upgraded to v7.X.X. Most of the effected ...
Patrick McCarron's user avatar
1 vote
0 answers
243 views

Support for deep-Linking Salesforce | Need to update “apple-app-site-association” file

We are trying to setup an Email - App based linking between Salesforce and our iOS App. As part of this setup, Apple requires us to support something called Universal link (see the link provided below)...
Abhishek Yadav's user avatar
1 vote
1 answer
452 views

Unable to register device token to Salesforce user - iOS Hybrid app

I am trying to send a message from Salesforce to iOS Mobile Device, for this I have chosen the Push Notification feature. My application developed in the Hybrid Application(Cordova, Ionic, Angular). ...
Lx123's user avatar
  • 125
1 vote
1 answer
194 views

iOS Push with Cloud Page sent from Journey Builder has incorrect type

I'm sending a push notification via Journey Builder, I add a Push Notification Activity and in the Message Definition, I'm setting the Open Behaviour as Go to CloudPage and I select one from the menu. ...
Lucien's user avatar
  • 111