Questions tagged [react-native]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
26 views

Black screen issue while using Salesforce Mobile SDK in a React Native app

When I install the app for the first time in iOS, it shows a splash screen for a few seconds, then displays a black screen before proceeding to the login screen. Is there a way to resolve this black ...
MOIN JANJUA's user avatar
0 votes
1 answer
52 views

Device Id never show to new contacts and don't receive notifications

I implemented the library, in version 8.0, with react-native, I can see the data locally, but it is not registered in "All contacts". I can see the data from: getContactKey, getSystemToken, ...
Thales Crisostomo's user avatar
0 votes
0 answers
79 views

How to request iOS Push Notification permission from 3rd party library instead from native code, react-native?

I'm using official react-native marketing cloud sdk for push notification integration. However as I've seen in the example as well ( https://github.com/salesforce-marketingcloud/react-native-...
Thidasa Pankaja's user avatar
0 votes
1 answer
98 views

How to set receiving mobile push notification in system notification in Android

I'm integrating Salesforce mobile push in react-native application using the official library https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk I used firebase cloud ...
Thidasa Pankaja's user avatar
0 votes
1 answer
143 views

Receiving the push even when push is disabled with SFMC SDK

In my react-native mobile application I've integrated push notification via this library. https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk . However, I used .disablePush() ...
Thidasa Pankaja's user avatar
-1 votes
2 answers
67 views

How to Send mobilepush for specific contactkey or an email

I've integrated Salesforce Marketing Cloud Mobile Push in my react-native app. When user logged in I'm setting a contact key. When I looked in the platform, the specific deviceId is being shown with ...
Thidasa Pankaja's user avatar
0 votes
0 answers
109 views

Deep linking doesn't work on Android marketingcloudsdk

I have implemented the React Native SDK and I am successfully receiving push notifications on both platforms. The issue is I can't catch url in JS side. .setNotificationCustomizationOptions( ...
Victor's user avatar
  • 1
0 votes
1 answer
186 views

Unable to customise Android notification

I have implemented the React Native SDK and I am successfully receiving push notifications on both platforms. The problem I am having is that, on Android only, the notification builder seems to be ...
Dan Woodward's user avatar
0 votes
2 answers
259 views

No notifications on Android after implementing React Native Salesforce Marketing Cloud MobilePush SDK

I'm trying to implement push notifications through SF MC in my React Native project. I installed react-native-marketingcloudsdk and followed the instructions in the README and I get the following ...
Tara's user avatar
  • 1
0 votes
1 answer
279 views

How do i set the priority of mobile push notifications

I am following the following documentation to set the priority of the Mobile Push channel notifications but still when viewing the logs the channel priority is -1. Documentation I'm following to set ...
RONALD SILVA ALVES's user avatar
-1 votes
1 answer
184 views

How to get SDK logs dor ReactNative MobilePush SDK?

we are almost done with MobilePush implementation in our app, which is built on React, hence we use the ReactSDK Plugin. Everything works fine - contacts are getting registered, optins/optouts are ...
Jo93's user avatar
  • 27
0 votes
1 answer
76 views

How can you stop react-native-marketingcloudsdk from auto enroling contacts into push

When setting up sfmcsdk on react-native, I can't find a way to stop the app from enabling push by default. This is reproduced in this repo, credentials not added as they are private. Have I missed a ...
Nicholas Fitton's user avatar
0 votes
0 answers
97 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
1 vote
1 answer
961 views

Is Deep Linking supported in Mobile Push(SFMC)?

Is there deep linking support in mobile push? I didn't find anything related in the documentation. https://help.salesforce.com/s/articleView?id=sf.mc_mp_mobilepush.htm&type=5 In mobile push and ...
Ronald Silva's user avatar
1 vote
1 answer
146 views

Implementing Salesforce SDK into EXISITING React Native Codebase

Everywhere I've look, including Salesforce Docs, it shows steps on how to create a new React Native project with the Salesforce SDK. I am having trouble finding any docs on how to get the Salesforce ...
user121673's user avatar
0 votes
0 answers
181 views

How to get Notification data in App.tsx with npm libraries like notifee, wix react native push notification, etc.,?

I am trying to get the notification message in my react native App.tsx for Android. I have below Configuration in MarketingCloudSdk.init(). I have found one thing in logcat When I click the ...
rkaartikeyan's user avatar
0 votes
1 answer
264 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
3 votes
1 answer
644 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 ...
andziem's user avatar
  • 31
0 votes
1 answer
598 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?
Ronald Silva's user avatar
1 vote
1 answer
165 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 ...
Ronald Silva's user avatar
-1 votes
1 answer
91 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.
Srinath Baride's user avatar
1 vote
1 answer
180 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 ...
Nicholas Fitton's user avatar
0 votes
1 answer
275 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-...
Alexy Divino's user avatar
0 votes
1 answer
157 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
0 answers
78 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.
Nav Dessai's user avatar
1 vote
0 answers
126 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
1 vote
0 answers
824 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 ...
Rodrigo Viera's user avatar
0 votes
1 answer
207 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, ...
gvNN's user avatar
  • 1
0 votes
1 answer
411 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 ...
Shrihari Murali's user avatar
0 votes
1 answer
326 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, ...
chandreu's user avatar
0 votes
0 answers
410 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 ...
Ryan Padilla's user avatar
2 votes
2 answers
525 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 ...
NarcisGomez's user avatar
1 vote
2 answers
98 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-...
Vinicius Ambrosio's user avatar
1 vote
1 answer
2k 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 ...
LucaEffe's user avatar
2 votes
1 answer
690 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 ...
LucaEffe's user avatar
1 vote
3 answers
638 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 ...
kenny's user avatar
  • 11
0 votes
0 answers
221 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 ...
ketan kulkarni's user avatar
0 votes
0 answers
326 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 ...
Ramiro Caram's user avatar
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 ...
Valentin Hetriuc's user avatar
2 votes
2 answers
587 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 ...
user85549's user avatar
0 votes
0 answers
668 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 ...
Napathorn Kaeokomonmarn's user avatar
1 vote
1 answer
577 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 ...
Bob Lin's user avatar
  • 11
1 vote
0 answers
357 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 ...
Lenoir Zamboni's user avatar
3 votes
1 answer
3k 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 ...
Lyon Stark's user avatar
0 votes
1 answer
141 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" ...
Valeria Shpiner's user avatar
0 votes
1 answer
712 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 ...
Lyon Stark's user avatar
1 vote
1 answer
653 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 ...
Gabriela Devita's user avatar
1 vote
0 answers
469 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&...
Yvo's user avatar
  • 131
1 vote
0 answers
156 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 ...
Mauro Cappelloni's user avatar
0 votes
1 answer
70 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 ...
Jeremy Smith's user avatar