Questions tagged [react-native]
The react-native tag has no usage guidance.
69
questions
0
votes
0
answers
53
views
React Native Marketing Cloud SDK Kotlin initialization
I'm currently in the process of adding the Salesforce Marketing Cloud SDK to our React Native app, following the instructions posted in the README here: https://github.com/salesforce-marketingcloud/...
0
votes
0
answers
380
views
CMake Configuration Error When Integrating Salesforce with React Native Using react-native-screens
I'm working on integrating Salesforce into a React Native application and I've encountered a persistent CMake configuration error when using the react-native-screens library. I'm attempting to set up ...
1
vote
1
answer
176
views
Error while building on Android (class file has wrong version 61.0, should be 55.0). (React Native)
I need to release an updated version of my app. Everything was working fine until two weeks ago when I could build it without any issues. However, yesterday when I tried to build it again, I ...
0
votes
0
answers
31
views
Sync is successful but data doesn't update in the salesforce backend
Within the soup , I have this Data :
{
"cursorId": "0x60001174a400",
"currentPageIndex": 0,
"pageSize": 1000,
"totalPages": 1,
"...
0
votes
1
answer
85
views
SFMCSdk Android - Request manager with status 429 too many requests
Android SDK RequestManager often logging with registration status "Too Many Requests - 429"
Can someone explain what are the impacts of this in the registration process in Marketing Cloud? ...
0
votes
0
answers
34
views
Salesforce Mobile SDKv10.2.0 Issue Login
While changing the oauthRedirectURI to a custom url ex: https://myURL.salesforce.com/services/oauth2/success (production) I can login successfully but it got stuck to the Remote Access Application ...
2
votes
1
answer
239
views
SfmcSDK Error: Fatal Exception: java.lang.IllegalArgumentException: Receiver not registered
I've been testing push notifications on Android and got the following log on crashlytics and logcat. Important to note that I've received the notification successfully and had no problems opening the ...
1
vote
1
answer
120
views
Dependency error when using MobilePush SDK React Native module
We are running into an issue with implementing the react-native-marketingcloudsdk version 8.1.0 in our application specifically on Android. Refer to below screenshot.
We have tried a few different ...
0
votes
0
answers
104
views
TypeError: null is not an object (evaluating 'RNSFMCSdk.isPushEnabled')
I am integrating Marketing Cloud SDK in react native, using react-native-marketingcloudsdk
"react-native-marketingcloudsdk": "8.1.0",
Accessing Native module using following react ...
0
votes
1
answer
102
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, ...
0
votes
1
answer
282
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-...
0
votes
1
answer
352
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 ...
0
votes
1
answer
345
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() ...
-1
votes
2
answers
303
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 ...
0
votes
1
answer
401
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 ...
0
votes
2
answers
451
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 ...
0
votes
1
answer
466
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 ...
-1
votes
1
answer
299
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 ...
0
votes
1
answer
103
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 ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
225
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 ...
0
votes
1
answer
308
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 ...
3
votes
1
answer
883
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 ...
0
votes
1
answer
894
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
1
answer
202
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
230
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.
1
vote
1
answer
266
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
1
answer
322
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
168
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
91
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
158
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/...
1
vote
0
answers
1k
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
1
answer
252
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, ...
0
votes
1
answer
505
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
408
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
512
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 ...
2
votes
2
answers
701
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
2
answers
118
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-...
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 ...
2
votes
1
answer
824
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
3
answers
787
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 ...
0
votes
0
answers
266
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
367
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
664
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
700
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 ...
1
vote
1
answer
684
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
458
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
4k
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
162
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" ...