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 votes
0 answers
26 views

issue with iOS SDK for precompiled header

I am getting this issue in my project failed to emit precompiled header ------ MySpace-Bridging-Header.h' I was using pod 'SalesforceMobileSDK-iOS','~> 3.3' earlier for salesforce related APIs and ...
Akshay Baliyan's user avatar
-1 votes
0 answers
22 views

React native MobileSDK logout is NOT working for IOS, but redirecting user to SF allow access screen instead of login page

oauth.logout(); BackHandler.exitApp(); When I am trying to logout from my iPad it redirects me to the SF allow access screen instead of the login page.
Shivam Jaiswal's user avatar
-1 votes
0 answers
21 views

MobilePush geofence message triggering at specified time

I am wondering whether it is possible to trigger MobilePush geofence message at a certain time. The use case is to send an alert message of sudden metro line disruption when anyone enters the ...
Hannah Kim's user avatar
-1 votes
0 answers
19 views

Who i can delete DevicesId without delete the contactkey

Hello, I`ve some messages the SFMC has try send to Contacts with a deviceid optout, have Contacts with two or more devices logged, but with one Optin, in theory the SFMC should try only send to this ...
João Araujo's user avatar
-1 votes
0 answers
19 views

How to remove "Get accounts" feature from Mobile SDK ? (we are not using this feature and cant give disclaimer on the app)

We have integrated Mobile SDK to configure salesforce chat with our mobile app but that got rejected by Google with an error code "your app is handling the following users' information without an ...
RISHABH KHANNA's user avatar
0 votes
0 answers
32 views

SOQL Query API responds 503

Salesforce Mobile SDK: 10.2.0 Recently we are getting status code 503 errors on the iOS version of app in China region. The error shows up intermittently and not sure what could be the reasons for ...
Akshaya Jeevan's user avatar
0 votes
0 answers
38 views

SFMCSdk: Sometimes contact key is not changed

I've faced an issue when integrated the SFMC SDK for Android (version is 8.0.9). Sometimes contact key is not changed for our users. The chance is 0.2%. The integration code is listed below: ...
Ivan Gusev's user avatar
0 votes
0 answers
36 views

Enhanced Domain

We use the Mobile SDK to create iOS and Android applications. After this week's update to Winter '23 and enabling the Enhanced Domain setting for production, users can't use our apps. When the users ...
Shery Cherkasky's user avatar
0 votes
0 answers
26 views

Handling the triggering logic for in-app notifications on the app side?

When triggering in-app from marketing cloud how can we send metadata to the app if we want to handle the notification logic and message prompt dialog design on the app side? For example can we send ...
SFguy's user avatar
  • 1
0 votes
1 answer
95 views

Mobilepush multiple users/contacts on a single device

Our use case for the mpbilePush is to have multiple users/contacts associated with a single device. This is due to our SF structure, where businesses and contacts can be listed with the same phone ...
yoni349's user avatar
  • 81
0 votes
0 answers
20 views

Trying to upgrade to latest version of SalesforceSDK

I have an iPad application that is using Salesforce SDK 6.2.0, which I am trying to upgrade to the latest version of SDK. I ran the pod install, but I’m getting the following error: '...
Jim's user avatar
  • 1
0 votes
0 answers
97 views

Error when trying to integrate with salesforce mobile push sdk in Android Studio

Im getting this error when trying to integrate with SF mobile push sdk in Android platform. Any clue how to resolve this? I have tried changing the gradle/JVM/Kotlin version of the project but no luck....
SFguy's user avatar
  • 1
1 vote
0 answers
72 views

MobilePush Android SDK(8.0.8) causing higher application wakeups and device battery consumption

We upgraded to SFMCSdk Android (8.0.8) from the previous version and since it was released, we have received alerts on Google Console of excessive wakeups on our application, which implies excessive ...
Vanesa Agulló's user avatar
0 votes
0 answers
83 views

Mobile app React native upgrade failing due to incompatible SDK react native version

Base on the link here: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk We are using Salesforce marketing cloud for our mobile app development team needs to upgrade react ...
zeus0890's user avatar
0 votes
0 answers
41 views

How to modify and run SOQL query dynamically in swift/Objective-C SalesforceSDK 10.2.0?

How Update with dynamic value in the Where clause from Swift/Objective-c coding in the below 'usersyncs.json' configuration. ''' { "syncName": "syncDownUser", "syncType": ...
adijazz91's user avatar
  • 101
1 vote
1 answer
78 views

Mobile Push QUESTION - Contact Key

My DEV app team is making a change to the app so that unknown contacts will not be included in MC's all contact. This is done via the function setDelayRegistrationUntilContactKeyIsSet(true). How can ...
Giulia Orru IT's user avatar
0 votes
0 answers
34 views

I am having issue in using multiple soups in smartstore Salesforce Mobile SDK and are not able to use globalstore.json. I am using ReactNative

Hi I am creating a project with React Native using the Salesforce Mobile SDK but I am having issue in adding a second soup to the contact soup of the sample app. I tried registering a second soup, and ...
Maurizio Capobianco's user avatar
0 votes
1 answer
47 views

MC - Cordova - AppPush conflict issue

During the process of implementing the MC SDK with my app, there is a conflict between the 3rd Party App Push and the SDK inserted in the marketing cloud, so I'm unable to proceed further. Our app is ...
Luna's user avatar
  • 21
1 vote
1 answer
167 views

Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11

We have been using 8.0.8 build and it was working fine till yesterday but all of the sudden, our Nightly builds releasing to TestFlight start crashing. So we have tried to update our SDK to 8.0.11 ...
Ankit Thakur's user avatar
0 votes
0 answers
71 views

React native MobileSDK logout is NOT working, but redirecting user to SF allow access screen!

On logout, instead of being redirected to the log in screen, the user is redirected to the allow access screen: oauth.logout( () => { logMessage('user logged out', id); }...
user128022's user avatar
2 votes
0 answers
166 views

SalesforceMobileSDK Hybrid - Spring '23 Issue on Log-in

As of Spring 23' Release version, we've been experiencing issue on re-direct to home page on both Android and iOS devices. salesforce-mobilesdk-cordova-plugin: 9.1.1 / 10.2.0 We've tried isolating the ...
raveeBunduwongse's user avatar
0 votes
1 answer
328 views

User is getting auto logged into an app on iOS even after logout

We have a custom application build on SF mobile SDK. We have a connected app on the CRM side where we use REST APIs for the communication with the mobile application. We noticed a peculiar issue on ...
VarshaVRK's user avatar
1 vote
1 answer
254 views

Marketing Cloud SDK iOS: SFMCSdk.mp.refreshMessages returns false & not triggering SFMCInboxMessagesRefreshCompleteNotification

Environment MarketingCloudSDK 8.0.9 SFMCSDK 1.0.6 We implemented the MarketingCloudSDK and SFMCSDK with SPM according to the documentation. Problem Description We receive Push Notification and In ...
Sebastian Baar's user avatar
-1 votes
1 answer
103 views

MarketingCloud crashing with CoreData failures

We're seeing MarketingCloud crashing on our app while trying to perform few CoreData tasks. Here are the 2 stack traces with errors that we see on Crashlytics: Fatal Exception: ...
Gui Freitas's user avatar
1 vote
0 answers
219 views

How can I send analytic event about "push open" in Android SDK

I want to share a problem that I have been looking for a solution for a long time.I have checked all the steps in this document Integrate the SDK 10 times. There is no page on the internet that I ...
Rıdvan Özcan's user avatar
0 votes
0 answers
46 views

Customize theme for Lock Screen controls and background on Salesforce iOS mobile SDK

Reporting this issue here as suggested by Salesforce Technical Support team. We have raised similar query on Github and link is shared below: Version of Mobile SDK Used: 10.2.0 Issue found in Native ...
Viral Dhingra's user avatar
0 votes
0 answers
265 views

iOS MarketingCloud / SFMC SDK producing random app crashes

I have upgraded to MarketingCloud / SFMC SDK (v8.0.8 / v1.0.6) for a few months, recently we are getting more random app crashes reported by our customers and also on our monitoring tool. Looking into ...
Ron Ip's user avatar
  • 11
1 vote
1 answer
116 views

Crash on App start iOS version 8.0.8

We updated SDK version to 8.0.8 for using InApp messaging by method "trackEvent". Testing didn't catch crashes on app start. But we have a lot of it on production after release. We don't ...
Roman's user avatar
  • 21
0 votes
0 answers
19 views

How to eliminate notification number in IOS APP?

Please advise how to eliminate notification numbers in APP (as circled photo), or only showing it "1" when there's more than 1 Notification. We logged a case but didn't get answers. (We are ...
Sandy Tseng's user avatar
0 votes
0 answers
55 views

Not able to compile the project with Salesforce Mobile SDK(version 8.0.0) for android

The current parent app in android is running on the Salesforce Mobile SDK with version 8.0.0(Gradle:'com.salesforce.mobilesdk:SalesforceSDK:8.0.0'). The sdk is throwing the below error during the ...
Andro's user avatar
  • 5
0 votes
0 answers
47 views

Mobile App Event Tracking Payload

I'm implementing Mobile App Event Tracking to determine in which situation and screen my in-app messages should show, but when I received the payload from SDK the notification service with default ...
Igor Garcia's user avatar
0 votes
0 answers
49 views

MoiblePush API error 20002

we are trying to call /device/v1/registration with { "deviceId": "xxxxxx", "etappid" : "00000000-0000-0000-0000-0000000000000", "device_token&...
Johhnytska's user avatar
0 votes
0 answers
131 views

Android - Firebase migration

Just recently migrated my project to different Firebase project (needed to change data location). Did a setup for app and new Cloud Messaging services in Firebase and created new app in MobilePush ...
sfuser's user avatar
  • 25
0 votes
0 answers
84 views

Salesforce react native push SDK - contact key is null

We are using SF react native SDK to send mobile push but getting this error contact key null when we try to call this function getSdkState() i get undefined like getTags and getAttributes It appears ...
user123379's user avatar
0 votes
1 answer
245 views

Retrieving more than 2000 records from net.query & net.querymore in ReactNative- Salesforce sdk

net.query limits 200 records at a time. Where large number of records are not retrieving and does not even display an error but outputting response.done = false and response.nextRecordsUrl has a url ...
Ruchiran Avishka's user avatar
0 votes
1 answer
73 views

Android App is crashing after allow me screen during Login process

I am using mobile SDK v10.1.1 for logging into the salesforce credentials, I had successfully logged in and after that allow and cancel button is shown in the screen, I had clicked the allow and ...
Vinayak Khedkar's user avatar
0 votes
0 answers
155 views

MobileSDK for Ios: Force user to login and re authenticate after logout

I wonder following fix is right or not. Develop environment: Salesforce MobileSDK 8.3 for iOs Login flow: user-agent flow After enable enhanced domain for salesforce Sandbox, when user log-out it's ...
hhtk12's user avatar
  • 21
0 votes
0 answers
180 views

Please Help - Salesforce crashing on iOS 15

Recently we started to seeing many crash logs in our iOS app and the crash-free rate significantly dropped. If someone has similar problem or able to help will be greatly appreciated. I will attach ...
Philip Konyarov's user avatar
1 vote
0 answers
232 views

Getting error while building in xcode error: non-portable path to file

After migrating to SFMCSDK to v8 everything seem to work fine. But now I get the following error when building the project: <module-includes>:2:9: error: non-portable path to file '"Headers/...
mschropp's user avatar
1 vote
0 answers
172 views

App with React Native + Force React + WaterMelon DB [closed]

I are trying to build react native app with 'forcereact', and it's working fine. and then when we try to add Watermelon DB for offline data, it's not working. these three are working together. If not ...
Bharat's user avatar
  • 11
3 votes
1 answer
1k views

Unable to login due to missing access token parameter for Identity Service - iOS

We have a growing number of users that are getting the following error on iOS after logging in to the connected app: "Server Error Can't connect to the server: The following required parameters ...
Rozgonyi's user avatar
  • 607
1 vote
1 answer
415 views

Getting a random crash on iOS MarketingCloud/SFMC SDK

I recently updated to the Marketing Cloud v8.0.6 and SFMC v1.0.4. I am able to receive pushes but every once in a while will get a crash when setting the URLHandlingDelegate. Here is my current ...
user114747's user avatar
0 votes
0 answers
25 views

Mobile Push SDK version issue

Our backend needs to send messages initiated by it (PUSH / EMAIL). A C# SDK documentation (https://github.com/salesforce-marketingcloud/FuelSDK-CSharp) was analyzed, which by the understanding is a ...
Omar Ali's user avatar
1 vote
1 answer
548 views

No such module "SFMCSDK" after migrating to v8

I've followed the migration instructions for updating to v8 of the Marketing Cloud SDK. Docs here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration....
user114747's user avatar
0 votes
2 answers
613 views

"Server Error - Can't connect to the server: unsupported URL" received on iOS mobile App

I'm not a programmer but Salesforce suggested I post this question here and hoping someone can point me in the right direction. We have the same iOS mobile app and Android app for our Experience Cloud,...
Ellen Henderson-Smith's user avatar
0 votes
1 answer
142 views

Error in executing JEST Unit Test cases in react-native project with Salesforce Mobile SDK created by forcereact

We are creating React-Native mobile App Using Salesforce Mobile SDK. In this project we setup JEST for unit test cases writing. But whenever it goes into Salesforce Mobile SDK API it failed and sends ...
Satish K. Azad's user avatar
1 vote
1 answer
146 views

Batch sync up - slow performance/performance improvement

Version of Mobile SDK Used: 9.2.1 Issue found in Native App or Hybrid App: Native App OS Version: All Device: All Steps to reproduce: syncUp We use SmartSync/SmartStore to sync offline data with ...
PatrykK's user avatar
  • 21
1 vote
0 answers
122 views

Salesforce Mobile SDK React Native: Invoke Biometric/Pin Prompt after timeout in react native app

Mobile-SDK version: v10.0.0 Platform: android, iOS React Native: 0.67.1 We are developing a react native app using salesforce SDK and have a requirement where we want the user to enter his/her pin/...
Anurag Tiwari's user avatar
0 votes
1 answer
34 views

Android Mobile SDK v9.2.1 closes the App once the allow button is clicked after the login is done

I am using mobile SDK v9.2.1 for logging into the salesforce credentials, I had successfully logged in and after that allow and cancel button is shown in the screen, I had clicked the allow and taking ...
Dinagar N's user avatar
0 votes
0 answers
31 views

App is not 64 bit compliant after adding SF SDK

I am getting error in uploading the APK to managed playstore when SF SDK is updated, I had added the 9.2.1 SDK in android the error is as below
Dinagar N's user avatar

1
2 3 4 5
7