I've done this a few times - added the Salesforce iOS SDK to my existing apps. There's actually a tutorial which my good friend Quinton Wall wrote for this. The key steps which you may be missing are
Adding a Bridging Header
Configuring your AppDelegate
Once these are done, you also need to ensure (quoting from the tutorial)
Then, to handle to end of ...
TLS 1.1 or 1.2 is required to access salesforce [always for sandbox, for prod depends on if the critical update is turned on]. Unfortunately the default TLS version for many versions of .NET is 1.0, which causes problems. See this issue in the toolkit project about TLS versions
Salesforce Touch: a mobile app for iPad/iPhone, and a mobile gateway for HTML5 compliant mobile devices (Android, Blackberry), authenticated through Identity (Oauth2), and capable of using Visualforce pages, as well as configuration-based updates (e.g. changes to standard layouts will affect the app). Salesforce Mobile Packs are not required for using Touch (...
In Salesforce, record Id's are generated when you insert any record. Once record id's are generated they become Read Only fields. Hence they cannot be modified.
In above code, you're trying to make id field of contact to null. Now consider a RDBMS case, were you're trying to make Primary key as a null. This is a invalid scenario because primary key cannot ...
It doesn't appear that you've asked the user for their permission to use Location nor have you called the iOS SDK's start watching location method. Not 100% on this next point, but I suspect you should see a locationEnabled=true in the first portion of this SDK State JSON object too. Net-net-net, it is unlikely that you've followed the documentation at all ...
There are 2-3 Tags set for an Android device by default: ALL and Android for non-debug builds and and additional Tag of DEBUG for debug builds.
Similarly, ALL, iOS and DEBUG will be set for iOS devices.
Are you setting a Contact Key? I ask because Tags are aggregated for a contact. If you have multiple devices, or have previously set a Tag for a given ...
Is not the Fuel-SDK what we should look at but the JDK version we are using.
Java 8 use TLS1.2 as default for connections, and i double checked it with wireshark while doing request to SFMC using the fuel-sdk for java.
You should be using version 17.0.1 of firebase-core.
The SDK docs page uses a shared variable for the Firebase major version number, which is no longer correct since Google is publishing no longer publishing the same major version update for all Firebase libraries at the same time.
The docs will be updated shortly to reflect the correct version.
You should set an Attribute from the SDK which will result in the contact record being updated. From there you can create an automation/data extension that monitors the value of the aforementioned attribute and have that trigger the welcome e-mail.
This functionality does not exist and it would be tricky to build and use, as width of a block can change based on media queries and the size of the client. Returning a width that is contextual and not guaranteed could lead to poor end user experience.
Based on your example, it seems you can achieve the same result using relative styles (like a 100% width ...
The latest SDK does address an issue with case sensitivity in access tokens which was introduced in a change in our server gateway. This affected the iOS configuration "Builder" usage and was addressed in our 6.2.0 release.
Moved to answer:
Is it possible that your access token or appId values have uppercase characters? We have a very recently identified issue in those cases, and using the ConfigBuilder method of SDK configuration, which will cause the 401 error you are seeing. Workaround: Use the JSON configuration technique. We will be releasing a fix for this soon, in our ...
My suggestion will be to use the Automation Studio Audience entry event. The automation will contain a Query activity, looking into Open data view:
You can then select the open events for that specific ...
Have a look at how UpdateAsync is implemented with respect to the underlying REST API. It maps the record ID into the PATCH URL.
Yet your anonymous type includes an Id property, even if it is null.
Try something like:
var auth = new AuthenticationClient();
await auth.UsernamePasswordAsync(ConsumerKey, ConsumerSecret, Username, Password);
Apologies. We have a documentation bug and I have opened an internal ticket for its immediate remediation.
The dependency line should read for v4.x versions of the SDK:
The com.salesforce.marketingcloud:marketingcloudsdk:5.+ is accurate for v5.x artifacts as of 20180104.
According to https://help.salesforce.com/HTViewHelpDoc?id=sso_provider_addl_params_scope.htm&language=en_US and https://developer.salesforce.com/forums?id=906F00000009CO9IAM
We should not set connected app for full access but
Perform requests on your behalf at any time
Access and manage your data
If you're developing a hybrid/web app, you also need ...
Thanks Daniel for the response.
The problem is UpdateAsync function has Sforce-Auto-Assign = true which caused the lead owner to be reassigned. This is true for Rest API not Soap.
I am using force.com sdk for C# so there is no way for me to set the header (Sforce-Auto-Assign ) to false.
In my case, I found two solution
Rewrite the sdk. To do this ...
If you had asked this as 3 separate questions I could have upvoted each of them :)
The iOS SDK v4.1.0 is compatible with iOS 9.1
The Android SDK v4.2.0 is compatible with Android 6 (Marshmallow)
Android uses the actual, unchanging unique device identifier
The question is old so you might already have the answer, but I'll still post this.
You can use the REST API to pass additional attributes to a Triggered Send. Http callouts are simpler than SOAP. You can modify the FUEL SDK library on Github and make it work but it's much more complicated than
If you create your project with forceios, it will install the SDK as a static library, so only certain headers are exported publicly and the implementations are private. If you want to view or edit the implementation, you should install the SDK as described in the development repo.
Task is a special object in Salesforce and you can not directly query on all fields of parent object.
For example you can not query on all the fields of task Owner. Only some global field can be queried. Owner.Email can be used in query but Owner.AnyCustomField__c can not be used in Query. Similarly only few fields can be queried from parent object Who.