Questions tagged [ios]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

iOS mobile SDK 6.4.1 crashing (application protected data)

Our app is crashing after latest SDK update (v6.4.1). Push notification setup was updated using latest learning app example and docs related with application protected data. Related code: func ...
0
votes
1answer
18 views

iOS specific error during SDK setup

Some users has encountered this error: Domain: MarketingCloudSDKErrorDomain Code: 4 NSLocalizedDescription: <MarketingCloudSDK+Base.m:(438)> iOS file protection is enabled and data is not ...
0
votes
0answers
29 views

Unable to send notification to iOS devices. Contact push status set to “not opted in”

I've been trying to send notifications to iOS devices but havent been able to. I'm using the Japanese version of the website so the names of the sections could be different from the English ones. I ...
1
vote
1answer
96 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). ...
0
votes
1answer
44 views

Unable to sync up data

When I try to syncUp a locally updated document as detailed below, iwth .leaveIfChanged as a the sync option it does not work. I investigated why this was occurring and could trace the error to the ...
0
votes
0answers
20 views

iOS MarketingCloudSDK - MarketingCloudSDKURLHandlingDelegate

I have an issue related to MarketingCloudSDKURLHandlingDelegate. MarketingCloudSDK version - 6.3.4 In-app message appears in the app. Button is set up as App URL. Delegate method is set after ...
0
votes
2answers
543 views

How to support iOS 13 with Xcode 10.2.1?

thanks for your new SDK update (v6.3.5)! Our app is unfortunately not yet supporting Xcode 11. When I attempt building with SFMC 6.3.5, I get this error ":-1: Undefined symbol: ...
1
vote
1answer
54 views

ERROR: Right To Be Forgotten is enabled. MarketingCloudSDK functionality has been restricted

When configuring the marketing cloud SDK on iOS, I receive this error on initialization: Right To Be Forgotten is enabled. MarketingCloudSDK functionality has been restricted. What are the ...
0
votes
0answers
18 views

Got a blank screen when connecting with the iOS app?

In the SF iOS app, when I login on certain networks, I get a blank screen. I used the Authenticator app and enabled it in my account first; while on certain networks I can get into it, other ones I ...
0
votes
0answers
17 views

Salesforce SDK iOS shows incorrect queue position

We have implemented the Snap-ins SDK chat solution for our internal mobile app. When we go "Online for Live Agent" and there are no incoming chats (the chat queue is empty), Once we start the chat as ...
0
votes
1answer
24 views

<mobilesdk> Customized SSO login page for Salesforce mobile SDK

We know that Salesforce offers a way to customize the SSO login page on Salesforce.com (https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/oauth_hide_gear_icon.htm). We ...
0
votes
1answer
81 views

Native Android/iOS Authentication with Authenticated Site/Customer Portal

I am working on integrating a native android and iOS project into a Salesforce environment. We have successfully ran the forcedroid and forceios commands to get functioning projects and have been able ...
0
votes
0answers
27 views

Get picklist metadata/values

For my iOS App I need to know which values, from a picklist, are possible for the user to select, to only insert the possible ones. How can I do this with the mobileSDK for iOS? I tried the ...
0
votes
0answers
21 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 ...
0
votes
0answers
38 views

restAPI failure code 401

I use the mobileSDK for iOS and want to do some query on standard objects in salesforce, which I did some times befor. Now I get an error witch the code 401, which mean that this is not authorized. ...
1
vote
1answer
58 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. ...
0
votes
0answers
47 views

Clarification on configuring SDK iOS SFMC?

In regards to configuring the SFMC iOS SDK for use with Mobile Push, how often does the sfmc_configure() method need to be called? every launch? (more? less?) Note: I'm using the ...
0
votes
0answers
96 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'...
0
votes
1answer
33 views

How to integrate SFMC SDK in a framework?

We have a framework (say its name is MyFramework) which wraps SFMC SDK and link it statically, in this framework we integrate SFMC SDK via CocoaPods: But the SDK crashes when I call ...
0
votes
1answer
159 views

OpenDirect sfmc_setNotificationRequest called before the SDK is ready. Deferring until isReady == true

We inherited 'MarketingCloudSDKURLHandlingDelegate' for the class that runs MobilePush for Marketing Cloud and overrode the methods. We wanted the following method to be called as handler when we ...
0
votes
0answers
24 views

Cannot login with de Salesforce Mobile SDK (Hybrid) en IOS

Description: The error we have with the Salesforce Mobile SDK (Hybrid) plugin in IOS is: Once we have logged in and given permission to the application through the Salesforce login, we try to perform ...
0
votes
0answers
66 views

Hybrid Mobile SDK 6.2 App (iOS) - Open's Classic or Lightning Page inside a Login-View Container

PLATFORM AND VERSIONS iOS cordova v6.3.1, Salesforce Mobile Hybrid SDK 4.2.0 ​iOS cordova v8.0.0, Salesforce Mobile Hybrid SDK 6.2 DEVICES: App is built to install only on iPad devices. ...
0
votes
1answer
25 views

Fetching latitude longitude datat from image on IOS in SF1 App

I need to to fetch the Latitude and Longitude of Image captured or uploaded using SF 1 App.I am using EXIF to fetch the same in javascript(helper) While it is working on android , same does not work ...
4
votes
1answer
110 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
106 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
79 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
42 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
39 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
74 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
133 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
66 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
14 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
23 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
84 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
86 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
39 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
50 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
168 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
126 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
29 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
45 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
237 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
74 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
1answer
119 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
67 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
129 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
529 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
189 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
43 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
65 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?