People who code: we want your input. Take the Survey

Questions tagged [react-native]

The tag has no usage guidance.

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
779 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 ...
1
vote
0answers
76 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 ...
1
vote
1answer
236 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
36 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 ...
1
vote
0answers
144 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
227 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 ...
1
vote
0answers
194 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 ...
0
votes
0answers
7 views

SFMC react native disablePush is not persistent

I've been working on integrating the react-native module for marketing cloud in our react-native app. In order to comply with GDPR we have to provide an opt-in logic in the app so the user can agree ...
0
votes
0answers
26 views

LWC OSS in React Native?

We have a Salesforce app built with LWC and we want to "duplicate" part of the functionality on mobile so it's available on the go. To avoid doing things from scratch, I'm curious if it's ...
0
votes
0answers
11 views

ios app not running after integrating salesforce sdk in react native

We are trying to integrate salesforce framework in our hybrid(react-native) application referring to https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/react_native_intro.htm ...
0
votes
0answers
16 views

Smartstore Duplicate

I have a smartstore with soup name "X". Every data will be filtered upon changing date. I tried to call syncdown for every date change but only data of first call is synced to the store. ...
0
votes
0answers
11 views

ReactNative library with dynamic settings

Sales Force has a ReactNative library, that allows push notifications, but only with receiving status. In native libraries (android and ios SDK) we can colect dynamic data about push notification (...
0
votes
0answers
28 views

what is the limit of salesforce smartstore (integrated with react-native) or how many records I can save in soup

I am new to salesforce sdk, I want to know what is the limit of local database(smartstore) or how many records I can save in soup. Thanks in advance.
0
votes
0answers
35 views

SOQL query to retrive single record with where clause in smartstore

Hello team I am retriving user details by id from User object. I am refering to offline code template given by forcereact (forcereact createwithtemplate --templaterepouri=MobileSyncExplorerReactNative)...
0
votes
0answers
25 views

Unable to view smartstore inspector for mobile

I have created app through forcereact command. To debug the smartstore I am trying to use smartstore inspector. As per documentation it is enabled by default but I am not able to see the option in Dev ...
0
votes
0answers
51 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
0answers
81 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 ...
0
votes
0answers
94 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 ...
0
votes
0answers
259 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
153 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 ...
0
votes
0answers
43 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 ...
0
votes
0answers
98 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
53 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 ...
0
votes
1answer
258 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(...
0
votes
1answer
84 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
102 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 ...