15
votes
Accepted
OAUth Issue: OAuth_Approval_Error_Generic
After much trial and error. I think this may be due to simple mis-configuration of the Connected App.
Check the Scopes closely. For my trailhead app I needed the api, web, refresh_token scopes. I had ...
7
votes
Accepted
Can't create new project with Mobile SDK 3.3 with Cordova 5.0
This is actually a known issue with Mobile SDK 3.3 - it will NOT work with Cordova version 5.0 (only Cordova 4.x is supported).
If you have to use Cordova 5.0, please upgrade to the latest version of ...
6
votes
Accepted
Join Queries in a Hybrid App (Salesforce SDK / Smartstore)
Short answer - it works as expected
If you select * a soup, you will get all the "internal" columns we create to support smartstore operations (more on this below).
Columns that hold data from "...
6
votes
Accepted
Do Salesforce Officially Support Mobile SDKs?
Yes, Salesforce does support Mobile SDK as part of premium support.
However, you actually don't need premium support for mobile, if you are facing an issue with Mobile SDK, you can either post on ...
5
votes
Lightning Community via custom Mobile SDK app?
Your approach of a 'simple Hybrid App that sends you to the Community Login page' is the right path here.
As for your other concerns
but I'm concerned that Locker Service will cause a problem with ...
4
votes
Accepted
Impact of intergrating the mobile SDK
Not sure where you got 50MB from, but that is incorrect.
With the latest release (6.3.4) the SDK will add a little less than 1MB to your application.
If you would like to verify this you can use ...
4
votes
Marketing Cloud Push Notification not received on Android
For most devices, removing the app from recents will have no effect on whether the app can receive a push message. For some device models, I have seen that removing an app from recents is treated the ...
4
votes
Accepted
Connecting a Mobile App to multiple BUs
This is not a supported use-case as of 20220114. It can be accomplished, but it should not be done.
The application can launch with the configuration of your global BU and be switched to a child BU ...
3
votes
Accepted
Marketing Cloud Push won't increment the badge no in iOS
This is the expected SDK behavior. I'll make a note to ensure that the web interface is clarified.
In 4.9.5 and later, badges are now set according to the following logic:
If a push message is sent, ...
3
votes
Accepted
Why do we need the com.salesforce plugin for cordova apps?
The Mobile SDK is more than just database functionality. It gives you access to offline storage, camera, advanced gestures, notifications, device contact and calendars, and so on. You'll want to read ...
3
votes
Accepted
Navigating to create record page Salesforce1 sforce.one.nativgateToURL
Try createRecord(entityName[, recordTypeId]) (pulled from Navigation with the sforce.one Object).
createRecord(entityName[, recordTypeId])
Opens the page to create a new record for the specified ...
3
votes
Accepted
When Do Connected Apps Show Under "Connected Apps"
I haven't done this, but the online help indicates that you have to package it from a DE org as a managed package.
3
votes
OAUth Issue: OAuth_Approval_Error_Generic
For me, the same issue was fixed by using sfdx force:auth:device:login
Instead of authorizing via web login flow, I logged in using a device code.
Also, check that your salesforce instance has ...
3
votes
Accepted
How often is MobilePush SDK data synced back to Marketing Cloud?
This is covered in the github 'Registration Updates Via Contact Key, Attributes, and Tags'
The SDK will send changes to the Marketing Cloud servers within one minute of the first change to any ...
3
votes
Accepted
MobilePush SDK & Progressive Web Apps (PWA)
PWA Apps are basically Websites running on modern browsers. Push notifications in PWAs context are simply Browser notifications and for the moment MobilePush doesn't support Web notifications.
The ...
3
votes
Accepted
Do I need to upgrade my iOS MarketingCloudSDK due to HTTP/2?
You don't have to do any changes in SDK. All you will be configuring auth keys in Marketing Cloud UI instead of certificates.
Using the steps in the same URL which you have provided in your question -...
3
votes
Migration Issues from MarketingCloudSDK 7.6 to 8.0.1
Please check the Project Settings -> General -> My Target -> Frameworks, Libraries, and Embedded Content to see if packages are listed in the import statement. I would also suggest cleaning ...
3
votes
Accepted
MarketingCloudSDK | In App Messaging | Button URLs not handled in delegate
There is a known bug already which will be fixed in the next update. Please log a support ticket if you wish to be notified when the update is released.
2
votes
OAUth Issue: OAuth_Approval_Error_Generic
You may get this error if the scope param in your authorizationUrl request DOES NOT match the scopes you've added to the connected app.
For example:
https://test.salesforce.com/services/oauth2/...
2
votes
React Native Mobile SDK
I can understand that this can be a bit confusing as it's not really documented very well. The key concept here is that forcClient is an instance of react.force.net.js
var forceClient = require('./...
2
votes
Is it possible to use Lightning Component/Aura inside Salesforce Mobile SDK Hybrid Local App
You can leverage Lightning out feature to run the Lightning component code in your app.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/lightning_out_requirements.htm.
You ...
2
votes
Why is the Salesforce Snap Ins SDK for Android and iOS so huge?
For the Android app it sounds to me like you are including all of the Sdks when you only want to use chat. If so the below tips may help. I see sizes increases of <2MB when I compile just the chat ...
2
votes
Accepted
Marketing Cloud Mobile Studio Subscriber key
You are correct; Subscriber Key is the 1 value that allows you to reconcile contacts between Email Studio and Mobile Push. How/where you get/store that data is up to you, but you will need to call ...
2
votes
Lookup field in restApi
An object in JSON is surrounded by {}, not [] (which is an array). The following change should work:
"Z_Product__r": {"Z_R3_Material_no__c" : "A1672SO"}
This answer presumes that the named field is ...
2
votes
Lookup field in restApi
Lookup fields contain the Id of the associated record. So if your field name is Z_Product__c, then you will need to have the Id of the record in your JSON body to which you need the newly created ...
2
votes
Salesforce Mobile SDK issue with Xcode 9
Please upgrade to Mobile SDK 6.0 to use Xcode 9 and 7.0 to use Xcode 10. When Apple updates Xcode it typically requires code change (often breaking changes) to the SDK. More documentation can be ...
2
votes
Accepted
How can I send analytic event about "push open" in SF Android SDK
You can use redirectForAnalytics when creating the PendingIntent for your notification.
2
votes
Android Switching Business Unit
You can switch to a different business unit be simply calling the MarketingCloudSdk's init method with the credentials of the new business unit. This will signal to the SDK to clean up the existing ...
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 ...
2
votes
Accepted
Mobile Push SDK Opt-in status
Please see https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/sdk-implementation/user-data.html#reserved-words. You should not be setting this value manually.
Also, if you're having ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mobilesdk × 311salesforcemobilesdk-ios × 106
marketing-cloud × 67
mobile × 60
sfdcmobilesdk-android × 51
mobilepush × 50
ios × 34
android × 28
mobilepush-ios × 18
rest-api × 17
cordova × 17
salesforce-sdk-android × 17
hybrid × 16
mobilepush-android × 14
react-native × 14
smartstore × 12
salesforce1-app × 9
hybrid-remote × 9
community × 8
connected-apps × 8
visualforce × 6
javascript × 6
soql × 5
sdk × 5
salesforce-sdk-hybrid × 5