4 votes
Accepted

GraphQL and Salesforce Development

GraphQL is an open source data query and manipulation language meant to provide a more efficient, powerful and flexible alternative to REST and ad-hoc web service architectures. In practice it acts as ...
user avatar
3 votes

How can I import salesforce marketing cloud in ios

Please ensure you have imported the SDK's header file at the top of your AppDelegate.m. #import "AppDelegate.h" #import <MarketingCloudSDK/MarketingCloudSDK.h> ... ...
user avatar
2 votes

Salesforce Marketing Cloud mobilePush iOS Not Opted In with Variant Opt-Out Source

This is almost certainly a certificate issue. Please review the documentation and update your certificate accordingly (ref. https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-...
user avatar
  • 4,163
2 votes

RichPush Notifications on IOS are blocking regular pushes

I would suggest working on one target at a time. After adding one notification extension, make sure that Notification Target is signed by the same Managed Profile as the project target you are ...
user avatar
2 votes
Accepted

Using Salesforce Mobile SDK vs Custom Salesforce Integration for Mobile App

Can we expect the Salesforce Mobile SDK to support a fairly recent version of React Native anytime soon? We don't know. Until/unless we see something in the release notes, we can make no assumptions ...
user avatar
  • 438k
2 votes
Accepted

Universal links not working when attached in a push notification with app killed

I solved my problem thanks to this comment: https://github.com/facebook/react-native/issues/24429#issuecomment-858699356 Hello, In my case the problem appears only with deeplink into push ...
user avatar
2 votes

GraphQL and Salesforce Development

Starting from Summer '22 Salesforce offers a native GraphQL API without the need for any third party package. You can explore the API using the Salesforce Platform APIs Collection for Postman.
user avatar
  • 4,036
1 vote

Error in executing JEST Unit Test cases in react-native project with Salesforce Mobile SDK created by forcereact

Unit tests should not depend on external api calls, instead they should be mocked to provide a success and error response. to mock or spy on a function please find documentation from jest https://...
user avatar
1 vote

How to properly integrate MobilePush with Objective-C?

8.x versions are not currently supported (20220131) with the SDK's ReactNative plugins.
user avatar
  • 4,163
1 vote

How to implement url handling of marketingcloudSDK in React Native

UrlHandling is passed into the MarketingCloudConfig. As such, you must implement it in native code. Examples of this can be seen in the Learning Applications: https://github.com/salesforce-...
user avatar
  • 4,163
1 vote
Accepted

Universal links are not working when attached to a notification

You have to handle the URLs within your application. See iOS and ANDROID documentation.
user avatar
  • 4,163
1 vote

How can I import salesforce marketing cloud in ios

@kenny I resolved this issue by manually linking the library at the base project i.e. react-native link react-native-marketingcloudsdk , now when you run your pod install you should see ...
user avatar
1 vote

Integrating Mobile SDK in existing React Native app

If you are using CocoaPods this can be easily done for IOS as below. You will need to install the Cocoapod first brew install cocoapods Create a default pod file if you do not have one pod init Make ...
user avatar
1 vote
Accepted

Network Query for Logged In User - Salesforce Mobile SDK

When you log in with the Mobile SDK, your auth callback will include an identity URL in the id attribute. It'll look something like https://login.salesforce.com/id/00D.../005.... You can then query ...
user avatar
  • 438k
1 vote
Accepted

React native mobileSDK smartsync sync up 'succeeds' without actually changing anything

Do you have any rows in your soup? A row that you would expect to "sync up" to salesforce should look like the following: { __local__: true, __locally_created__: true, __locally_updated__:...
user avatar
1 vote
Accepted

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

Ultimately, I opened tickets with Salesforce but didn't receive a solution as to why the Salesforce RN API calls weren't returning the appropriate file data, or why the same url was returning a blank ...
user avatar
  • 113
1 vote

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 have an apex class that converts the file to base64, and returns that as the result. Salesforce does this for you already. If you query the ContentVersion SObject, the VersionData field will be ...
user avatar
1 vote

Smartstore/Smartsync - Create related objects

Some functionality to handle this has been added in Mobile SDK v5.2. The docs on the website don't reflect this new functionality yet, but the PDF in the GitHub repository does. Ctrl+F for "...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible