Questions tagged [react-native]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 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 ...
2 votes
1 answer
54 views

Marketing Cloud MobilePush SDK React Native Push notification integration [closed]

I'm a newbie to SalesForce. I am trying to integrate this package https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk to my React Native app for push notifications. Can anyone ...
  • 21
0 votes
1 answer
38 views

Mobile push does not return feedback from push operations when sending a notification

Test done on ANDROID The platform returns that the submission failed, but does not explain why it failed. How do I get this feedback?
1 vote
0 answers
32 views

ContactKey does not appear in Contact Builder -> All Contacts -> Mobile Push - React Native (IOS)

I followed all the steps in the react-native-marketingcloudsdk documentation, including activating the push, but the set contactKey does not appear in the Contact Builder. SDK log is returning, push ...
-1 votes
1 answer
32 views

Want to remove Allow Access page while logging in into the app

I want to remove Allow Permissions page while logging-in in to my application. I am using SalesforceMobileSDK-ReactNative. PFA for reference.
0 votes
0 answers
23 views

IOS app restarts automatically after click on allow in SFDC login screen with oauth.authenticate function with community user

When i try to login with community user with react-native ios app using forcereact setup,on click of allow in login screen iOS app restarts automatically.
1 vote
1 answer
74 views

react-native 0.68 vs SFMCSDK 7

I've recently been integrating the react-native-marketingcloudsdk into an app, during this time we've upgraded to react-native 0.68 which targets Android 12. Now that I'm ready to add the sdk changes ...
0 votes
0 answers
29 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 ...
0 votes
1 answer
86 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-...
0 votes
1 answer
35 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 ...
1 vote
0 answers
39 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.
1 vote
0 answers
74 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/...
0 votes
0 answers
51 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-...
1 vote
0 answers
369 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 ...
0 votes
0 answers
44 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, ...
0 votes
0 answers
39 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&...
0 votes
1 answer
108 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, ...
  • 1
0 votes
0 answers
76 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 ...
-1 votes
1 answer
227 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 ...
0 votes
1 answer
146 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, ...
0 votes
0 answers
194 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 ...
1 vote
1 answer
236 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 ...
1 vote
1 answer
36 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-...
0 votes
1 answer
845 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 ...
1 vote
1 answer
396 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 ...
1 vote
2 answers
383 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 ...
  • 11
0 votes
0 answers
116 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 ...
0 votes
0 answers
193 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 ...
1 vote
0 answers
1k 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 ...
2 votes
2 answers
301 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
0 answers
464 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
1 answer
320 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 ...
1 vote
0 answers
160 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 ...
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 ...
0 votes
1 answer
88 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" ...
0 votes
1 answer
449 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 ...
1 vote
1 answer
410 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 ...
1 vote
0 answers
335 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&...
  • 111
0 votes
0 answers
136 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 ...
0 votes
1 answer
64 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 ...
2 votes
1 answer
263 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 ...
  • 23
0 votes
1 answer
349 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(...
1 vote
0 answers
61 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 ...
  • 448
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.
1 vote
1 answer
426 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 = :...
  • 1,899
1 vote
0 answers
163 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 ...
1 vote
0 answers
267 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 ...
  • 11
0 votes
1 answer
89 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....
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 ...
1 vote
0 answers
244 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 ...