Questions tagged [react-native]

The tag has no usage guidance.

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

Can we change Salesforce Push notification payload type to notification

I am trying to send push notification from salesforce to react native app(android and ios both). I am not using mobile sdk FCM setup and react native setup is done. I am receiving notification data ...
1
vote
0answers
139 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
1answer
44 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
0answers
64 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
1answer
66 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
0answers
33 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 ...
0
votes
0answers
28 views

How to disable the salesforce login in react native iOS

I want to display a screen before the Salesforce login. I have checked this document. [SalesforceSDKManager sharedManager].authenticateAtLaunch = YES; This line is not in my appdelegate.m file. Where ...
2
votes
1answer
296 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
1answer
57 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
1answer
105 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
1answer
127 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
0answers
100 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&...
0
votes
0answers
76 views

Embedded Service SDK Android Pre-Chat form visible with only hidden fields provided

I have implemented live chat on Android using com.salesforce.service:chat-ui:4.1.0 SDK. The provided UI seems to show the Pre-Chat form, even when only providing hidden ChatUserData to the ...
0
votes
0answers
74 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
1answer
45 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 ...
1
vote
1answer
142 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 ...
0
votes
1answer
145 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
0answers
30 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 ...
0
votes
1answer
59 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
1answer
229 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
vote
0answers
139 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
0answers
200 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 ...
0
votes
1answer
81 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
1answer
92 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
0answers
178 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 ...
1
vote
1answer
272 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 ...
5
votes
2answers
2k 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 ...
0
votes
2answers
868 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 ...
3
votes
1answer
463 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 ...