Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ios]

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

3
votes
0answers
36 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 ...
2
votes
1answer
55 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
1answer
50 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 ...
0
votes
0answers
20 views

Salesforce Implement Push Notification in iOS app developed with GoNative

I created app from GoNative with website link(And this website is using Salesforce). What I don't know is that how to implement push notification into iOS app which is built with GoNative(It is mainly ...
0
votes
1answer
21 views

Marketing Cloud Cordova Plugin - iOS Push Notifications - entitlements required?

We are using Cordova for our mobile apps and hence we are in process of integrating Marketing Cloud Cordova Plugin with our cordova app. I had a question do we have to set aps-environment entitlement ...
1
vote
1answer
33 views

Why MarketingCloudSDK for iOS always put “now” date in “startDateUtc” field?

After some long time of investigating I realized that MarketingCloudSDK for iOS always returns startDateUtc field set to current date. Here is a snippet from XCode logs: [inboxmessage] returning ...
1
vote
1answer
33 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
0answers
35 views

Process OpenDirect only when the user tapped the notification

I'm using the MarketingCloudSDK for iOS (not JB4ASDK) to receive notifications from the Salesforce Marketing Cloud. We're using OpenDirect notifications to deep-link to some screens in our app, which ...
0
votes
0answers
13 views

SalesForceMobile SDK allows login from different organization

I have two SF organizations. One for development and other for production. I have two Connected Apps. One in development organization and other one in the production organization. I have ...
0
votes
0answers
18 views

Checkbox field is not working in SF1 for ios and Android

I have open loged in in SF1 ios device. I am able to see the checkbox custom field lable, but not able to see the box icox next to the lable. Does anyone know what is the issue?
4
votes
1answer
51 views

NSDictionary representing Inbox Message Structure

What is the structure of the NSDictionaries representing Inbox messages that are returned in an Array by sfmc_getAllMessages? I'm trying to access the objects in each NSDictionary and need to know ...
1
vote
1answer
38 views

SFMC iOS SDK setup failed because encryption key could not be created or fetched with configuration

I'm starting integration with the iOS SDK. I'm doing a very very basic config. My config has everything disabled, and I only populate the ApplicationId and AccessToken - (BOOL)application:(...
0
votes
0answers
25 views

iOS - Crash when app goes to background

We are massively registering a crash after the user closes the app and the comes back (even after several crahes): http://crashes.to/s/2f9a6459d58 Fatal Exception: NSInvalidArgumentException [NSNull ...
2
votes
0answers
35 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 ...
0
votes
1answer
69 views

Marketing Cloud iOS SDK inbox message read status does not change after opening message from push notification

I have an issue with Marketing Cloud iOS SDK. I have implemented Inbox feature and showing some internal unread messages count badges. I'm manually marking inbox messages as read using SDK method. The ...
0
votes
1answer
41 views

How to enforce session timeout in Native-iOS App

I am using SF Mobile SDK version 5.2. I am only using the sdk for authentication and authorization of SF users of our organization. Once a user is authenticated from the salesforce, he can use the app....
1
vote
1answer
26 views

Disable automatic landing page in JB4A SDK

Is there a way to disable automatically OpenDirect handling from SDK when there's no ExactTargetOpenDirectDelegate set? The problem is when the app launches because of push notifications, ...
0
votes
0answers
32 views

salesforce 1 IOS standard back button

On click of app on navigation menu, Parent component 'A' gets open,which inside init method redirects to another component B.On IOS, When click on standard back button, it redirects to component A, ...
1
vote
0answers
143 views

showToast is not working in iOS device

Here what i have written code to display 'showToast' message in lightning component and It's not working in iOS (but yes it working as expected in Android and Web). handleFpAdd: function (component, ...
2
votes
1answer
56 views

Q: Mobile Push Badge Count (MarketingCloud SDK 6.0)

How to manage/display iOS badge number that calculate by myself like [UIApplication sharedApplication].applicationIconBadgeNumber = 1;? For now, MarketingCloudSDK will override the result - display ...
1
vote
0answers
59 views

Google Login in Salesforce1 App Disallow Useragent iOS

We used to be able to use the mobile app for iOS without a problem. Now if we go to log in and click the Google Login button, the immediate message is a 403 disallowed_useragent message. Logging in ...
0
votes
1answer
41 views

Ignore the Update iOS Badge option

We have implemented the MarketingCloudSDK version 5.2.1 in our iOS application. Everything works fine but there are some tweaks that we would like to do, but we are not sure how to achieve what we ...
3
votes
1answer
114 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://...
0
votes
1answer
260 views

Field Service Ligthning Mobile App Extension URL Global Parameters

I wants to open iOS app using app extension from Field Service Lightning(FSL) application. Is there anyway to open the iOS app with the same session from which the FSL app is logged in(like passing ...
2
votes
1answer
84 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?
0
votes
1answer
32 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 ...
1
vote
1answer
50 views

MarketingCloud SDK - iOS turn on/off for GDPR?

can I disable the salesforce SDK in my iOS application if the user chooses to not share their data with respect to the GDPR? Basically, how does MarketingCloudSDK handle GDPR?
2
votes
1answer
62 views

Salesforce 1 Navigate to specific Div on different Page in IOS Device

How can I retain the button position of a scroll-able area when pressing back button in Salesforce 1? Let's say I have more content in VF page which has 2 or 3 pages and a button on a 3rd page on ...
2
votes
0answers
42 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/...
0
votes
0answers
350 views

onBlur event for lightning:input is not working on iOS

I have onBlur eventListener to lightning:input tag for table Row in a component, It is working fine on Android devices, but it's giving an error on iOS devices v10.3 ( not sure about below). <...
1
vote
1answer
74 views

Difference between JB4A SDK and Salesforce Marketing Cloud SDK for iOS

I am trying to implement the Mobile push functionality to my app and use the marketing cloud to send pushes to my users. However, currently my app has a JB4A SDK and I would like to upgrade to the ...
0
votes
1answer
58 views

salesforce crashing on iPad devices

After integrating Marketing Cloud SDK(v5.0.0) in my iOS app, crashes have been continuously reported for iPad devices(iOS 9/10) on app launch. Any guidance? Following are the logs from Crashlytics: ...
0
votes
0answers
16 views

How to use SFOAuthCoordinator to support the OAuth/SAML Authentication flow?

I have the OAuth/SAML authentication & authorization flow working from a web browser, but I want to add it to our custom mobile app. Everything is configured correctly on the server, and we have ...
0
votes
0answers
44 views

Migration from MarketingCloudSDK v4.9.7 to v5.1.1

We are migrating our iOS project from MarketingCloudSDK v4.9.7 to v5.1.1. I am aware about the initial setup document but facing difficulties to migrate the project just on the bases of that. ...
0
votes
1answer
63 views

MarketingCloudSDK deviceId crash

Hello I released an app with the marketingCloud-SDK 5.1.1 in it. I can see crashes in crashlytics about the MarketingCloudSDK. Do you know the problem and can you tell me in which situation this ...
0
votes
1answer
58 views

iOS Push notifications token change - after token update there is 2 min delay before Salesforce notes can be sent

After token has changed app is calling: [[MarketingCloudSDK sharedInstance] sfmc_setDeviceToken:deviceToken]; After that app is moved to background and I go on and start sending some push ...
0
votes
1answer
71 views

Marketing Cloud Cordova Plugin - Crash on iPhone 5 OS 10.3

I am developing an application using MCCordovaPlugin and just updated to v.1.0.3. All of the functions work well, but there is a problem : if using this updated MCCordovaPlugin, the app will crash on ...
0
votes
0answers
71 views

Salesforce Mobile SDK v4 - Does it support Swift 4?

If I have an older iOS app that was built with Objective C and is now to be upgraded to Swift 4 (by a contract ios developer) do we need to also upgrade the Salesforce mobile SDK to the latest version ...
0
votes
1answer
173 views

MarketingCloudSDK iOS v5.1.1 with Swift 4.1

Is MarketingCloudSDK iOS v5.1.1 compatible with Swift 4.1? It is available via Cocoapods? Last time I checked pod 'JB4ASDK' gives v4.9.7.
1
vote
0answers
78 views

Unable to use knowledge and cases with guest access after Service SDK update to 212.0.x for iOS

I am unable to use Knowledge and Cases after updating the iOS Service SDK from 210 to 212.0.x/iOS on both my dev SF account and a client's SF account. Both accounts work as expected on the previous ...
1
vote
1answer
204 views

A few crashes found using MobileMarketingSDK 5.0

Just found these crashes using the MarketingCloudSDK 5.0.0: 1) Crashed: com.apple.root.default-qos 0 CoreData 0x186d027a0 -[NSKnownKeysDictionary1 release] + 88 1 CoreData ...
0
votes
2answers
522 views

Changing the subscription status of a Mobile Push contact

I'm currently testing the implementation of the Mobile Push SDK in an app of client. Due to improper iOS certification configuration (development instead of production) and a number send attempts I ...
0
votes
1answer
304 views

Cannot receive push notification in iOS device

I am using this plugin : https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin and I want to send push notification to both iOS and Android devices. The scenario is this : I open the app ...
3
votes
1answer
221 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 ...
1
vote
0answers
749 views

Native iOS app. How to pass authorization token into Webview for a community users?

We created a simple iOS native app, which should allow users to login into SF once and then open Lightning community app in a Webview. For this purposes we have below steps: User launch the mobile ...
1
vote
1answer
60 views

Track custom event using Salesforce marketing cloud iOS SDK

Is there any way to track custom events using SalesForce Marketing Cloud iOS SDK? I can see an analytics class in the SDK called ETAnalytics, but it has very limited tracking options -- pageView, ...
2
votes
2answers
354 views

Universal links & Appsflyer do not work on Marketing Cloud

We are implementing an email sending automation. We have created universal links to redirect our customer to precise screens in our app. These universal links are already working on another platform ...
1
vote
2answers
409 views

Cannot send push notification to iOS device

I have a Cordova app with the Marketing Cloud cordova plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin). Although I had some difficulty to make it work on android (cf What is ...
8
votes
1answer
368 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 ...
2
votes
2answers
220 views

Why is the Salesforce Snap Ins SDK for Android and iOS so huge?

I installed the SDKs for both Android and iOS to use the Live Agent for my company. Although the built app size on Android/iOS grew by at least 25MB! Is there any reason why it's so huge? I can't ...