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
0
votes
0answers
11 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
28 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
10 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
13 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
418 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
13 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
17 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
28 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
99 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
77 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
33 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
34 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
161 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 ...
1
vote
1answer
83 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
3k 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
1answer
22 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
1answer
32 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
147 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
308 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 ...
0
votes
1answer
186 views

Deeplinking not working in In-app messaging using Marketing Cloud MobileSDK

Our mobile app developers are trying to setup deeplinking in In-app messaging using the Marketing Cloud SDK but it is not working as expected even after following the instructions for the official ...
3
votes
0answers
99 views

Firebase version of latest Salesforce Service SDK is outdated

We have noticed that latest Service SDK https://github.com/forcedotcom/ServiceSDK-Android/releases/tag/224.0.0 seems to still be using Firbase 17.3.0. Can anyone know when the Service SDK team will be ...
1
vote
0answers
17 views

Pass custom parameters to Salesforce Login page

I'm using Salesforce mobile SDK with Connected App, OAuth2 flow for connecting to Salesforce Community. Currently, I'm looking for an approach on how to pass additional custom parameters to the Login ...
0
votes
1answer
72 views

How to open another app from my app via Mobilepush?

I would like to open Instagram app or Facebook app if my customers click on any of the links from my push notifications. Is there any way of doing this from the SDK for Android and iOS? I've been ...
2
votes
1answer
79 views

Do I need to upgrade my iOS MarketingCloudSDK due to HTTP/2?

I got in my iOS app the MarketingCloudSDK (v6.4.2). As I got this email from Salesforce: "If you do not update your application to use the .p8 Auth Key by July 25, 2020, then your iOS messages will ...
2
votes
0answers
124 views

Using Salesforce mobile SDK how do I call an Apex REST endpoint?

In my scratchorg I've got: @RestResource(urlMapping='/Test/') global without sharing class RestTest { @HttpGet global static String test() { return 'cat'; } } And in workbench I'...
1
vote
0answers
69 views

Using Salesforce dashboard in salesforce MOBILE sdk based app or may be some other app out side salesforce context

I want to render the salesforce based dashboards in mobile app which is based on SFSDK only. What will be the best way to do it? Currently i am making the call to get the dashboard data and then ...
1
vote
4answers
311 views

Has anyone used the Mobile SDK with Capacitor?

The Salesforce Mobile SDK has a cordova plugin. The Capacitor platform supports most but not all Cordova plugins (see known incompatability list). Does anyone know if the Salesforce mobile sdk cordova ...
0
votes
1answer
41 views

Callback for when a Notification is opened on an Android app

I am new to marketing cloud and after going through the documentation I haven't found anything similar to a callback for when the SalesForce notification is clicked. In our project we also use the ...
0
votes
1answer
26 views

How to use the "All" data category?

The ServiceSDK docs suggest that we can provide the virtual data category “All”, which is visible in the portal, as the rootDataCategory for the SCSServiceConfiguration in the ServiceSDK. But when I ...
1
vote
1answer
46 views

Discard In-App Message based on the date sent to customer

I created a journey with recurring scheduling and data extension. I want to display a certain In-App message when a new customer is inserted in a table, but the customer can see the message up to 7 ...
0
votes
1answer
216 views

How to conditionally display a geofence notification - not mobile PUSH notification?

I understand that geofence triggered notifications are actually downloaded and triggered upon fence transitions - not a PUSH notification. Like the poster of this question, I have a data extension ...
1
vote
0answers
57 views

How to Identify a Close button in a In-App that is pushed to a application

We are doing the in-app message design on SFMC, there is a close button on the UI message. When we click on the close button its not closing the In-app its redirecting to the link that is given in the ...
0
votes
1answer
73 views

Not able to logout and login without closing app and use SmartStore and MobileSync again

As you know in CCEP we are adapting the SDK more and more to our internal applications so we decided to use MobileSync and SmartStore to handle all the sync mechanism. So far so good, but we are ...
1
vote
0answers
96 views

Migration of existing forcehybrid apps from AngularJS to Angular

We have an existing app running on Cordova 9.0.0, forcehybrid CLI 7.3.0 and Salesforce SDK 7.2.0 which is built using AngularJS v1.7.5. As it is known that AngularJS is deprecated and is not actively ...
0
votes
1answer
73 views

"file is not a database" error - Conflict between SF SDK Cordova plugin and Cordova Plugin File

We have come across a bad issue on android where the user installs the app on an android device and logs into Salesforce with it. Then they uninstall the app, reinstall it, and login again. The first ...
1
vote
0answers
46 views

Salesforce iOS Remote Hybrid SDK works incorrect with SSO

We're using Salesforce iOS Remote Hybrid SDK in our app, version 7.1.2, that is shared for different clients, and it works ok with simple oAuth2 flow. However, started from Spring 2020 release, it's ...
1
vote
0answers
35 views

SFRestAPI.h in the Objective-C SDK appears to be missing methods

I'm building a Salesforce integration in an existing iOS app. As part of the integration workflow, I need to allow a user to upload a PDF to a specific opportunity. When the upload is complete, it ...
0
votes
1answer
134 views

How can I prevent the mobile sdk login screen from appearing as a modal in iOS?

I have a Cordova Hybrid mobile app using the Salesforce Mobile SDK v7.0.0. I recently upgraded my macOS as well as changed some other plugins which required me to re-install the Salesforce Mobile SDK ...
0
votes
0answers
479 views

Opens in mobile push are not reflected in marketing cloud

Recently we have created and integrated an android app into the Mobile push of Mobile Studio. We have implemented the Marketing Cloud Mobile Push Android SDK in the app. Additionally, to implement ...
0
votes
1answer
525 views

Problem in the integration of the SDK with an application

We need to solve a problem with the the intregration of the SDK with the Android application. This is a scenario: we're collaborating with a a development company in order to integrate Marketing ...
5
votes
0answers
482 views

SSO between Salesforce - Mobile app - web service provider

I'm trying to understand if it's possible to maintain a SSO session between 3 different elements: Mobile APP (Android/IOS) - developed with Salesforce SDK Salesforce (Identity provider) Web service ...
1
vote
2answers
134 views

Set (override) locale for Embedded Service SDK

We're using Embedded Service SDK in our react app for ServiceChat functionality. Processing a case with different locale settings in the Salesforce system and on a specific user device, SDK will load ...
0
votes
1answer
17 views

hybrid remote app header is not getting hide

i am using hybrid remote app, and running it on android emulator. The app which is connected to sandbox does not have app header after login. same when used for production, it shows app header after ...
0
votes
1answer
60 views

Configuring oauthRedirectURI dynamically in SalesForceMobile SDK for Login in android

I am working on an app SalesForce SDK for login in android. We are using 'com.salesforce.mobilesdk:SalesforceSDK:8.+'. I am able to configure the login url dynamically through code but not able to ...
1
vote
1answer
211 views

Salesforce mobile web experience retirement

We would like to confirm if custom apps using Salesforce SDK accessing Salesforce standard features (including Salesforce UIs) through web view will be affected by the article below? https://help....
0
votes
1answer
709 views

Force logout User from Connected App [duplicate]

We have a connected app which is android mobile app. We want the Users using that app to force logout of the app and re-login again. To do so, I have given the session time out value to 15 mins in ...
2
votes
1answer
185 views

Cannot build Hybrid Remote release APK with Mobile SDK 8.0

I have an existing Hybrid Remote app built with an older version of the SDK. I need to update it due to known vulnerabilities in the included version of Cordova. After experimenting with updating ...
0
votes
1answer
158 views

What parameters can be passed to a redirection CloudPage from an inbox notification?

Inbox messages redirecting to CloudPages can be personnalized with system attributes like subscriberkey or _subscriberkey or contactid. However i'm wondering if these variables are passed to the ...
0
votes
1answer
87 views

Configuring multiple ORGs in SalesForce Mobile sdk for login

I am working on an app where we use Sales Force SDK for Login. We use com.salesforce.mobilesdk:SalesforceSDK:5.+ SDK for login. We currently have configured login url, oauthRedirectURI, Consumer key ...