Questions tagged [react-native]

The tag has no usage guidance.

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

CocoaPods could not find compatible versions for pod “SalesforceSDKCore”

I am using SalesforceMobileSdk version 7.3.0, cocoapods version 1.8.0 and react native version 0.60.5. Getting this error: [!] CocoaPods could not find compatible versions for pod "SalesforceSDKCore"...
0
votes
0answers
36 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
0answers
28 views

Messaging.PushNotification : change structure of payload

I'm building an app on iOS and Android using react-native without the Salesforce Mobile SDK. I want to be able to send Push Notification to the app using Salesforce PushNotification class in Apex. ...
0
votes
0answers
8 views

Disable salesforce mobile react native sdk console logs

Is there a way to hide/disable the logs generated by the SDK ? These kind of logs: But I still want to keep my own console.logs. Thank you
0
votes
0answers
39 views

Reset app after logout using mobile SDK (react native)

After I logout (using "oauth.logout()" ), I'm back at the login screen, but if I log in again, I come back at the page I was before I log out instead of the homepage of the application. I'd like to ...
0
votes
1answer
22 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
0answers
37 views

iOS SDK react-native error when deploying to the Apple App Store

I keep getting a Missing required icon file. The bundle does not contain an app icon for iPhone/iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. There is indeed an ...
0
votes
0answers
69 views

Forcereact compileDebugJavaWithJavac with react-native-image-picker

I am developing react-native app with Salesforce Mobile SDK using forcereact. I have a requirement to upload documents. To select/capture the document, I am trying to use react-native-image-picker. ...
1
vote
1answer
86 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
41 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
0answers
75 views

Lightning out in react-native app webview

I am trying to load lightning pages in react-native app webview throught lightningout.js and getting the below error Access to XMLHttpRequest at 'https://company.lightning.force.com/c/PP_Mobile....
0
votes
0answers
24 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
54 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
104 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
112 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
159 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
74 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
79 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
166 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
232 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 ...
3
votes
1answer
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
611 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
356 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 ...