Questions tagged [mobilesdk]

Salesforce Mobile SDK is an open-source suite of familiar technologies—like a REST API and OAuth 2.0—that you can use to build great mobile apps

Filter by
Sorted by
Tagged with
1
vote
0answers
29 views

Sequence of errors in mobile app: [NoErrorObjectAvailable] Script Error; markup://native:AuraPrimingService: undefined; [SmartStoreAdapterError:

About 10 days ago all of our mobile users started seeing the same sequence of errors. They are all on iphone 7 and most are on the latest iOS and the latest Salesforce app version. The errors have ...
0
votes
0answers
7 views

snapshotViewCreationHandler stopped working in SDK 9

We have been using snapshotViewCreationHandler in the iOS SDK to display a splash screen for security reasons before going into the background. This has worked until we upgraded the SDK from 8.1 to 9. ...
0
votes
0answers
30 views

Displaying Broken Images when VF page is render as PDF in Custom mobile application. Using Internally Stored Images not external

issue :- Displaying Broken Images when VF page is render as PDF in Custom mobile application. Required information :- Images Used in VF page are stored in Salesforce in a Document folders. We are ...
0
votes
0answers
27 views

Hide Navbar in Android

our mobile dev team needs to be able to hide the login navbar for a customer native Android app. The same can be achieved in IOS by following the following documentation - https://developer.salesforce....
0
votes
0answers
17 views

User is not able to see few of his Accounts in Mobile SDK app Vision Care Order Manager although his territories are tagged to Account

User is not able to see few of his Accounts in Mobile SDK app Vision Care Order Manager although his territories are tagged to Account. As per the query the Accounts are fetched based on query where ...
0
votes
1answer
46 views

Salesforce mobile SDK in China

I have a small question for the community regarding Mobile SDK and China. We are currently setting a mobile app that use Mobile SDK that is calling/pushing information from/to Salesforce. The ...
0
votes
0answers
22 views

The redirection post the login from SFDC mobile SDK is not working

We are using com.salesforce.mobilesdk:SalesforceSDK:8.+ mobile sdk for android to use the login functionality in the native app. Post login the sdk is not redirecting back to the mobile app instead ...
1
vote
0answers
27 views

react-native-force is not working with where clause

I am using the react-native-force library and getting an error when I add where clause in SQL. My code: let sql = SELECT Id FROM Account where Id = '0014P00002l5S9EQAU'; net.query (sql, (response) ...
1
vote
1answer
33 views

MarketingCloudSDK - iOS SDK XCFramework support

As Apple has officially noted that fat binaries are an incorrect distribution means for Universal framework support and have released XCFrameworks as a proper solution to this issue, they have also ...
1
vote
0answers
27 views

Mobile users are redirected to web view salesforce after login with mobile iOS SDK (8.3.0) [closed]

We have faced with some intermittent behaviour on login process using mobile SDK (8.3.0) on iPad devices - after login user is redirected to web version of salesforce (not custom mobile application). ...
0
votes
0answers
10 views

ios app not running after integrating salesforce sdk in react native

We are trying to integrate salesforce framework in our hybrid(react-native) application referring to https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/react_native_intro.htm ...
0
votes
0answers
16 views

is there anyway to get unread FeedComment

I'm making chatter for mobile using Chatter Rest API, and want to count unread FeedComment by logging in user. Feed Comments have readBy capability to count unread item but only for FeedItem. please ...
0
votes
0answers
15 views

Smartstore Duplicate

I have a smartstore with soup name "X". Every data will be filtered upon changing date. I tried to call syncdown for every date change but only data of first call is synced to the store. ...
0
votes
0answers
11 views

Salesforce Mobile SDK Error: ClientManager$AccountInfoNotFoundException

We used the Salesforce Mobile SDK (https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/intro.htm) to develop a hybrid app. Recently capture below error from Google Play: com....
0
votes
0answers
13 views

mobilesdk: iOS - I'm getting stuck at the splashscreen

In iOS, I am getting the exception "*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SFHybridViewController setEnabledAutorotation:]: unrecognized selector ...
0
votes
0answers
14 views

After we added the App to MC, we see that new registrations started to come to the app, but already created users are not synced to the App

We added an app to our BU to send Push notifications. We see that new registrations are coming to the App, but we believe that not all old\existing users were added to the app. In general what is the ...
0
votes
0answers
58 views

Salesforce Chat SDK performs abnormally in Android app

After integrating the Salesforce Chat SDK in my android application, I noticed that, after the chat was initiated, it behaves as a separate application rather than working inside my application. When ...
0
votes
0answers
18 views

Salesforce Mobile SDK Support for OIDC with Azure

We are developing an iOS react-native app using the Salesforce Mobile SDK. We are looking to use Azure AD as the Identity Provider and allow users to login via an OIDC flow. Does anyone know if this ...
1
vote
0answers
18 views

Can LWCs be used in Mobile SDK Hybrid Local Apps?

I see that as of v8.2, the Mobile SDK can use LWCs in Hybrid Apps. But looking closer, it looks like they can only be used in Hybrid Remote Apps and note Hybrid Local apps. Our current app is a hybrid ...
0
votes
0answers
38 views

How to call Mobile SDK oauth.authenticate() for a custom community login page?

When logging in with a custom community login page, calling oauth.authenticate() does not resolve for the mobile version (React Native for iOS/Android) of my connected app. Salesforce's docs for ...
1
vote
0answers
24 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 ...
0
votes
0answers
37 views

Authentication the Mobile Service SDK on a users Behalf

We would like to gain an access token for authenticating a user with the Mobile Service SDK by authenticating on their behalf from our servers. We are looking for a way to use the Salesforce APIs to ...
0
votes
0answers
51 views

Getting FeedComment Post's Data

While using community user to query FeedComment, I get following error: "Implementation restriction: directly querying FeedComment is only supported for admin users in version 23.0 and higher.&...
0
votes
0answers
25 views

what is the limit of salesforce smartstore (integrated with react-native) or how many records I can save in soup

I am new to salesforce sdk, I want to know what is the limit of local database(smartstore) or how many records I can save in soup. Thanks in advance.
0
votes
0answers
9 views

Is it possible to receive Chatter notifications with my own connection application?

I saw the following question. It says that I can't include my own connection application in notifications by editing the Chatter notification type, but is it still not possible? Is it possible to get ...
0
votes
0answers
9 views

How to logout from a native IOS application

I checked the help of mobileSDK. Can I use "signoutUser()" in "UserAccountManagerClass" to logout? If so, I would like the sample code.
0
votes
0answers
23 views

Unable to view smartstore inspector for mobile

I have created app through forcereact command. To debug the smartstore I am trying to use smartstore inspector. As per documentation it is enabled by default but I am not able to see the option in Dev ...
0
votes
0answers
9 views

How to let our community user login to native IOS application

In our native iOS application, we are using Salesforce Mobile SDK. We want to let our community user login to our application. We followed the guide at this link [https://developer.salesforce.com/docs/...
0
votes
0answers
12 views

How to get an image file in a native IOS application

I would like to get some images registered in Salesforce and display them in a native IOS application. I know that there is image information in the contentversion object. However, I don't know the ...
0
votes
0answers
6 views

How to login to native IOS applications by community users

Select the community label on the login screen and log in. The existing community screen is displayed in the webview. RootView is not displayed. In Production and Sandbox, the RootView is displayed. ...
3
votes
0answers
174 views

ContentVersion.VersionData or ContentDocument.LatestPublishedVersion.VersionData doesn't return the base64 body

We're using mobile SDK and want to retrieve the SOUP of ContentVersion bodies(VersionData) to be able to generate the images when our users are in offline mode. According to the documentation about ...
0
votes
0answers
8 views

Duplicates in events - Salesforce SDK - Synchronization issue

We are developing an offline hybrid application for a client based on IOS as front-end and Salesforce as Backend. Synchronization between both systems is through Salesforce SDK. One of the ...
0
votes
0answers
15 views

Displays a list of chatter groups on IOS app

I'm trying to develop an IOS app that displays a list of chatter groups. I found that I can get the chatter data by accessing the "Chatter REST API". But I don't know how to code it. Do you ...
0
votes
0answers
26 views

Switch user method switchToUser() fails to switch the user in Cordova hybrid IOS app

Version of Mobile SDK Used: 8.2.0 Version of Cordova ios: 5.1.1. Issue found in Native App or Hybrid App: Hybrid iOS app OS Version: 13.5 Device: iPhone SE Assume we have two userid's UserA :user_id ...
0
votes
0answers
47 views

Can someone please help explain the Service Response Reasons on Mobile Push Detail Extract Report?

I recently ran a Mobile Push Detail Extract Report so I could view the failed sends from a recently launched mobile push journey. For those that failed, the report gave me the following reasons: ...
0
votes
0answers
40 views

Why status is Not Opted In and .sfmc_pushEnabled() is true?

I have a problem with opt out, when I print the MarketingCloudSDK.sharedInstance().sfmc_pushEnabled() this returns true, but when I go in portal the same DeviceID is showing this informations: Status: ...
0
votes
0answers
29 views

Using the iOS mobile SDK, App did connect to the knowledge base and was able to retrieve the categories but it couldn’t fetch the articles

Using the iOS mobile SDK, App did connect to the knowledge base and was able to retrieve the categories but it couldn’t fetch the articles. Can you please help me with this? It displays a message ...
0
votes
0answers
32 views

iOS - Case Creation Success screen always displayed

I'm Tiago, iOS developer at Curve. We're integrating Knowledge & Cases from the iOS Service SDK into our apps. However, we found an issue that we think can impact our release using the service SDK....
0
votes
1answer
53 views

Alternate way to access lightning pages in the mobile browsers

We have build an app in which we have integrated the Sales Force mobile sdk for Android and iOS. We have integrated lightning pages in the app. Since the Mobile web experience is retired. Is there a ...
0
votes
0answers
11 views

How to sync down ContentNotes related to an account via Salesforce mobile sdk? Anyone has any idea which soups to add

How to sync down ContentNotes related to an account via Salesforce mobile sdk? Anyone has any idea which soups to add Because content note can be queried via contentdocumentlink but you can not query ...
0
votes
0answers
70 views

Salesforcereact link issue with xcode 12 mobile sdk 8.2.0. Build fails after upgrading to xcode 12

Error log: Ld /Users/majidnawazbhatti/Library/Developer/Xcode/DerivedData/FieldSales-gnebegrqdnoomlcuwsokzucdglrv/Build/Products/Debug-iphonesimulator/SalesforceReact/SalesforceReact.framework/...
1
vote
1answer
66 views

Marketing Cloud - Changing the Status of a Mobile Push Android App

We have an android app with a status of expired because we unintentionally uploaded an Apple APNS cert to the app, and now that has expired. Is there a way to change the status to active without ...
0
votes
3answers
2k views

Getting “cross origin requests are only supported for http” error after login in salesforce based cordova hybrid ios app

Project configuration Salesforce mobile SDK Cordova plugin version: 8.2.0. Cordova ios: 5.1.1. Type of application: Local. After login, I am getting below error. cross origin requests are only ...
0
votes
0answers
19 views

Does cordova-plugin-marketingcloudskd support rich push notifications on iOS?

Does cordova-plugin-marketingcloudskd support rich push notifications, like images and links, on iOS?
0
votes
1answer
21 views

Transfer Email Address with MobileSDK to Marketing Cloud

How can i send the Email Address with MobileSDK to Marketing Cloud Contact Builder? We transfer already the Contact Key but we would like also to add the Email Address, stored in the App, and send ...
0
votes
0answers
45 views

How do I display images in push notifications on iOS devices using cordova-plugin-marketingcloudsdk?

I'm trying to send push notifications with an image to iOS devices using cordova-plugin-marketingcloudsdk. Although the push notification is received, the image is missing. On Android devices it works ...
0
votes
0answers
57 views

Unable to debug mobile version of lightning component on PC in Summer20

With Summer20 release the ability to debug the mobile version through the F12 debug console in Chrome was gone. When trying to switch to the mobile version, the application crashes into Classic and ...
0
votes
1answer
29 views

MobileSDK for IOS app comes out with blankScreen and a error Message

When I run the project in Xcode I am getting white screen with error message attached is the screenshot of the error message.
2
votes
2answers
86 views

Integrating Mobile SDK in existing React Native app

We have an existing React Native application that we would like to integrate with the Mobile SDK. Is this something that we can do? Is there a recommend way to do this? Is there any specific ...
0
votes
0answers
204 views

Marketing Cloud MobilePush SDK IOS React Native not showing the Device ID in the Marketing Cloud All Contact

MobilePush SDK IOS React Native not showing the Device ID in the Marketing Cloud All Contacts Base on the links here: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk We ...

1
2 3 4 5 6