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 ...
Marius Toth's 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> ... ...
Skyler Tanner's 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-...
Bill Mote's user avatar
  • 5,141
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 ...
Skyler Tanner's 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 ...
sfdcfox's user avatar
  • 487k
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.
POZ's user avatar
  • 4,354
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 ...
LucaEffe's user avatar
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.
Bill Mote's user avatar
  • 5,141
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 ...
MolemaKlaas's 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 ...
Mohith Shrivastava's user avatar
1 vote
Accepted

How to set receiving mobile push notification in system notification in Android

The most common mistake is that you've included the RN plugin for push notifications and you don't need it, however, if you are using both Marketing Cloud and Firebase (or another push provider), ...
Bill Mote's user avatar
  • 5,141
1 vote

How do i set the priority of mobile push notifications

What you're viewing has nothing to do with the push notification priority. Also, modifying the push notification priority is not currently supported. You should open a voice of customer request ...
Bill Mote's user avatar
  • 5,141
1 vote

Is Deep Linking supported in Mobile Push(SFMC)?

Deeplinking 100% is supported, however, there's not a single line of code in the SDK that enables it or prevents it. It's entirely up to the application developer to add the functionality to their ...
Bill Mote's user avatar
  • 5,141
1 vote
Accepted

Implementing Salesforce SDK into EXISITING React Native Codebase

Half of the time, the 'upgrade' process to a new version of the Mobile SDK seems to involve creating a new project from scratch and copying your assets in. Seemed to go away for a while and then come ...
Matt Lacey's user avatar
  • 25.6k
1 vote

React Native SDK IOS - Error

You need to add the import statement at the very top. // Add this import at the top (before #if RCT_NEW_ARCH_ENABLED) #import <MarketingCloudSDK/MarketingCloudSDK.h> Reference: https://github....
Christian Ray Leovido's user avatar
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://...
Anurag Tiwari's 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.
Bill Mote's user avatar
  • 5,141
1 vote
Accepted

Any Marketing Cloud SDK Resource for Objective - C (Not Swift) Code?

You can see an old snippet from docs/code here: // Framework import #import <MarketingCloudSDK/MarketingCloudSDK.h> // Make sure your class adopts the protocol @implementation AppDelegate &...
Bill Mote's user avatar
  • 5,141
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-...
Bill Mote's user avatar
  • 5,141
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 ...
sfdcfox's user avatar
  • 487k
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__:...
frontendloader's 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 ...
Pedram's 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 ...
frontendloader's 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 "...
frontendloader's user avatar

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