2022 Developer Survey is open! Take survey.

Questions tagged [react-native]

The tag has no usage guidance.

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

Implementation of PKCE with Salesforce Mobile SDK

I am looking into implementing the PKCE authorization flow using the Salesforce Mobile SDK with React Native. I know this is possible using REST API's, but I noticed that the SDK library has ...
user avatar
0 votes
0 answers
14 views

React Native SDK IOS - Error

I need help installing the SDK in the IOS application. An error is appearing in the process of performing the "Build" We follow this documentation: https://github.com/salesforce-...
user avatar
0 votes
1 answer
18 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 ...
user avatar
1 vote
0 answers
19 views

Is the marketing cloud sdk (React Native) supported for ios15? [closed]

When I run the app with new XCode (for ios 15), the devices are not registered in marketing cloud. But there are no errors as well on registration.
user avatar
1 vote
0 answers
40 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/...
user avatar
0 votes
0 answers
14 views

Support for React Native on Android Mobile SDK ^ 8.0.0

Is there any deadline, or estimative, for a React Native plugin new version, using at least 8.x versions of the Android Marketing Cloud SDK (which supports Android API version 31)? https://salesforce-...
user avatar
1 vote
0 answers
152 views

Deep links handling of Marketing Cloud SDK in React Native

SMC SDK for React Native: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk I'm trying to use deep links with in-app messages but I'm not getting them to work. After ...
user avatar
0 votes
0 answers
28 views

Issues with React Native Template and Podfile

We're currently having issues integrating our app with the Salesforce React Native Template due to a problem in the Podfile. The Salesforce Mobile SDK requires the !use_frameworks flag to be used, ...
user avatar
0 votes
0 answers
11 views

Accessing Custom Lightning Force page on Mobile Browser

I am attempting to load a custom login page that we have created using the Aura framework. The login page loads correctly when using a desktop browser; however, we receive an "Unsupported Browser&...
user avatar
0 votes
1 answer
75 views

How to properly integrate MobilePush with Objective-C?

I have an integration of MobilePush on my project (React-Native), but with the recent updates i had to update to the latest version of the SDK (8.0.4). But i getting some issues with it. For example, ...
user avatar
  • 1
0 votes
0 answers
14 views

Struggling with configuring Live Chat to be used in our mobile app

Can anyone tell me what the return URL in the developer's panel is for? From what I read, it is necessary to get a token. Thats fine, but there is no URL we want to send users to because it's a mobile ...
user avatar
-1 votes
1 answer
143 views

Any Marketing Cloud SDK Resource for Objective - C (Not Swift) Code? [closed]

Currently, I am developing the Marketing Cloud function from React Native using MC SDK, and want to implement push handling Url - Open Direct. However, documentation to Handling URL using Objective C ...
user avatar
0 votes
0 answers
131 views

app created with forcereact create doesn't start metro bundler

Following the instruction on the Trailhead article, i created a react-native app with forcereact create. Everything went well but after i run yarn start or npm start, open xcode and run the simulator, ...
user avatar
0 votes
0 answers
72 views

Persist opendirect URLs from cold start android and iOS

I'm able to get opendirect URLs into the app on both android and iOS and they deeplink as expected when the app is in the background, however, these urls don't persist when the app is killed. I'm sure ...
user avatar
1 vote
1 answer
146 views

How to implement url handling of marketingcloudSDK in React Native

https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk I would like to know which is the best way to implement url handling in React Native. There is documentation for both ...
user avatar
0 votes
0 answers
175 views

Push notifications not delivered on Android Device

We have developed a React Native mobile app. For multiple updates in Salesforce, we are sending push notifications on this mobile app from apex with the help of standard "PushNotification" ...
user avatar
1 vote
1 answer
28 views

Using MarketingCloudSDK 7.4.0 with a Mendix made Android Mobile Application

I'm trying to use MarketingCloudSDK 7.4.0 with a Mendix made Android Mobile Application. Mendix is a lowcode platform that uses ReactNative as framework. Therefore, I'm using the react-native-...
user avatar
0 votes
0 answers
115 views

I can't handle push notification data in my react-native app

My react-native application can receive push notifications normally coming from SFMC integrated with FCM. The problem is that I can't handle the data from these notifications that arrive in the app to ...
user avatar
0 votes
0 answers
194 views

How to Authenticate Experience Cloud(Community) Users in React Native App and pass session Id to Experience Cloud Site

We are building a React native app in which we have displayed experience cloud site using react native web-view & iframe. Everything works fine but every time users open the app they need to enter ...
user avatar
  • 10.5k
0 votes
1 answer
544 views

Universal links not working when attached in a push notification with app killed

Hello and thank you in advance for your help. I'm experiencing a problem in ios when the app is closed (killed) and a notification with a deep link is received: the url of the deep link is not passed ...
user avatar
1 vote
1 answer
280 views

Universal links are not working when attached to a notification

Hello all and thanks in advance, I'm trying to implement the universal links feature in my react native app in order to receive push notifications with links from Marketing Cloud and bring the user to ...
user avatar
1 vote
2 answers
280 views

How can I import salesforce marketing cloud in ios

https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk How can I import salesforce marketing cloud in ios After npm install and pod install, when I put the below code in ...
user avatar
  • 11
0 votes
0 answers
93 views

How to make REST API call in smartstore in React Native

I am working on integrating salesforce with react native for the first time. I have an offline feature for that I am using smartStore. Now I want make REST API calls in smartStore. After checking ...
user avatar
0 votes
0 answers
145 views

React Native Push Notification without body

I've successfully installed the RN library for MC push notifications on my app (https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk) I'm able to register contacts and receive ...
user avatar
1 vote
0 answers
956 views

Android Push notification not working on React native - Firebase project ID is required to communicate with Firebase server

Version of Mobile SDK Used: SalesforceMobileSDK-Android v 8.1 Issue found in : React Native OS Version: Mac OX - Catalina 10.15 Device: Nokia 8.1 Android version 10 Steps to reproduce: Login in ...
user avatar
2 votes
2 answers
230 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 ...
user avatar
0 votes
0 answers
393 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 ...
user avatar
0 votes
1 answer
253 views

Cannot receive push notification in React Native

The problem is “cannot receive and take actions on the push notifications in React Native bundle” . Receiving notifications and opening application by clicking the notifications happens on Native iOS ...
user avatar
1 vote
0 answers
130 views

Gradle build error with Amazon S3 maven repository dependency

I am developing an open-source react native library that it's a wrapper for the Salesforce SDK chat. This library uses a Salesforce maven dependency that is hosted on an AWS S3 Bucket. The problem is ...
user avatar
3 votes
1 answer
2k views

Salesforce Marketing Cloud mobilePush iOS Not Opted In with Variant Opt-Out Source

Hi Experts, I have developed an app using Salesforce Marketing Cloud SDK for React Native (source: https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk).Android is working ...
user avatar
0 votes
1 answer
82 views

RichPush Notifications on IOS are blocking regular pushes

React Native. iOS only: I installed rich push notification extensions according to documentation here. I have 4 targets, so I created 4 extensions "rich", 4 separate Bundle Identifiers "xxx.rich" ...
user avatar
0 votes
1 answer
387 views

Any Marketing Cloud SDK Resource for Java (Not Kotlin) Code?

Hi Experts, Currently I am developing Marketing Cloud function from React Native using MC SDK, and want to implement custom push notification handling. However, documentation to set Url Handler ...
user avatar
1 vote
1 answer
364 views

How to Re-register Device to Marketing Cloud When Contacts Deleted

I want to ask if Marketing Cloud SDK (Android & iOS) is able to re-register mobile device to Contact in Marketing Cloud after contacts in MC are deleted? If yes, how should I modify the code? I ...
user avatar
1 vote
0 answers
286 views

React-Native SFMC SDK - TypeScript definition file is incorrect [closed]

The TypeScript definition file included with the React-Native SFMC SDK is incorrect. The MCReactModule is exported as a normal export. export class MCReactModule { static isPushEnabled(): Promise&...
user avatar
  • 111
0 votes
0 answers
123 views

Overriding Mobile SDK 7.3 login screen for React Native

we are doing a custom development of a mobile app connected to SF with a connected App. I was wondering if there's any way to override the default salesforce login screen that pops up and use a view ...
user avatar
0 votes
1 answer
61 views

Apple API usage rejects from App Store Submission

I'm using v7.2 of the Mobile SDK included with the forcereact npm project. When submitting the app to Salesforce I'm getting 3 failures. Something is using NSPhotoLibrary, NSLocationAlways, and ...
user avatar
1 vote
1 answer
241 views

Using Salesforce Mobile SDK vs Custom Salesforce Integration for Mobile App

In one of our projects we are using Salesforce Health Cloud and want to build a mobile app for patients. We mainly have two requirements - All the patient data will be stored in the Health Cloud ...
user avatar
  • 13
0 votes
1 answer
339 views

React Native SDK - SmartSync - REST API calls

We're currently retrieving a list of Salesforce apps from the UI API using this function: net.sendRequest('/services/data', `${net.getApiVersion()}/ui-api/apps`, (e) => { setApps(...
user avatar
1 vote
0 answers
52 views

How to get the read only status of a field on a page layout from the API?

I'm using net.describeLayout from react-native-force to get the fields on the page layouts. However the problem is that it doesn't seem that the 'read-only' property from the page layout gets returned ...
user avatar
  • 438
0 votes
1 answer
71 views

What is the purpose/example for force:navigateToReactNativeApp event?

I'm wondering the idea behind this as I don't understand which kind of situation you will use this. More info here.
user avatar
1 vote
1 answer
385 views

Network Query for Logged In User - Salesforce Mobile SDK

Unable to find any documentation on obtaining the logged in User's Id from the Salesforce Mobile SDK for React Native. In apex the following would work: select Id, username from User where Id = :...
user avatar
  • 1,818
1 vote
0 answers
153 views

Login with google in the Salesforce SDK in react native

We are building an application where we need to use the google login the login to salesforce. We have setup everything in our salesforce environment to enable this. When we do it with the browser it ...
user avatar
1 vote
0 answers
252 views

How to join two soups in react native mobile sdk app

I'm developing a React Native app using Mobile SDK and I'm having trouble joining two soups together with SmartSync. I have already registered them with success, but I can not figure out how to join ...
user avatar
  • 11
0 votes
1 answer
86 views

Exact Target JB4A-SDK with React Native, error while linking the lib

I've downloaded latest (no matter the version) version of JB4A SDK found here -> https://github.com/salesforce-marketingcloud/JB4A-SDK-iOS When I'm trying to link it with my React Native app (RN v0....
user avatar
0 votes
1 answer
123 views

Mobile SDK react-native-maps

I'm curious, has anyone got the package react-native-maps to work in the mobile SDK? I've been bashing my head against the wall for a while on this one now, so much so that i'd love some confirmation ...
user avatar
1 vote
0 answers
223 views

React native login success callback not fired

When I attempt to execute a deferred oauth login using the react native Salesforce SDK for iOS, neither the success nor the failure callback is called, even when I have successfully completed the ...
user avatar
1 vote
1 answer
372 views

React native mobileSDK smartsync sync up 'succeeds' without actually changing anything

I am trying to sync data created in a mobile app (currently iOS, but I've had exactly the same problems with smartsync on Android before). I have a local soup registered that includes a field with ...
user avatar
5 votes
2 answers
4k views

GraphQL and Salesforce Development

I recently started looking into GraphQL as I have been experimenting with ReactJS. In all my readings I have not really seen anything about GraphQL and Salesforce. I am wondering if there would be any ...
user avatar
  • 277
0 votes
2 answers
1k views

Trying to download file via REST API and hitting heap size limit on sandbox, but not on enterprise org. Direct download doesn't seem to work either

I'm developing a React Native app and downloading library files into the app's file system. I have an apex class that converts the file to base64, and returns that as the result. I then call that in ...
user avatar
  • 113
3 votes
1 answer
558 views

Smartstore/Smartsync - Create related objects

I'm having some trouble working out the logistics behind creating two records on separate objects that have a lookup relationship. Lets say we're offline and want to create an Account, and then add a ...
user avatar