Post is pinned.

Post has attachment
I'm having trouble hiding the Navbar in a hybrid iOS app. I used forceios v5.1.0 to create my hybrid remote app and followed the directions at https://developer.salesforce.com/docs/atlas.en-us.noversion.mobile_sdk.meta/mobile_sdk/oauth_hide_gear_icon.htm, adding the code to set loginViewController.showNavbar = NO. When I run the app in the simulator the navbar still appears. What else am I missing?

My AppDelegate.m can be seen at https://bitbucket.org/snippets/chalemic/Ro8drR

Post has attachment
Hello,

According to the documentation, we are developing an app.

https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/hybrid_build_cordova3.htm

The Integration Plug-in is not functioning

Ionic version: 1.7.16
Cordova Version: 6.5.0
Cordova Android Platform: 6.1.2

Steps we have done:
-Started a new ionic project with the salesforce template.
-Installed shelljs dependency via NPM.
-Added Salesforce plugin to the project.
The documentation shows that we need to register the push notifications in this callback
cordova.require("com.salesforce.plugin.oauth").getAuthCredentials()
When we call this function nothing happens, no success, no errors.

Our code to register the notification handler is inside app.js:
cordova.require("com.salesforce.plugin.oauth").getAuthCredentials(function () {

cordova.require("com.salesforce.util.push").registerPushNotificationHandler(
function (message) {
var payload = message["payload"];
if (message["foreground"]) {
$ionicPopup.alert({
content: 'Mensagem' + ': ' + payload
});
}
if (!message["foreground"]) {
$ionicPopup.alert({
content: 'Mensagem' + ': ' + payload
});
}
},
function (error) {
console.log("Failed to register push notifications.", error);
});
}, function (error) {
console.log("Failed to authenticate.", error);
});

Our bootconfig.json:
{
"remoteAccessConsumerKey": "3MVG9CEn_O3jvv0z9rY6R2_T2MMFOJAAqu207oWq10aP0VcFaA6XVO9UNAm276V0sfBsKv35Rz6RHxeCnP8xn",
"oauthRedirectURI": "https://login.salesforce.com/services/oauth2/success",
"oauthScopes": [
"web",
"api"
],
"androidPushNotificationClientId": "220801332480",
"isLocal": true,
"startPage": "index.html",
"errorPage": "index.html",
"shouldAuthenticate": true,
"attemptOfflineLoad": false
}
Our project is also registered in Firebase platform.

Thanks

Rayane Vieira


For Android Native Saleforce Mobile SDK, does the SmartSync have a way of giving you a list of records that were successfully synced up / synced down to the smart store? Without querying the smart store, just a list of synced records that the completed sync operation affected?

So after you released Salesforce Mobile SDK 5.2 , I added its cordova plugin in my Android project and I observed you added Firebase functionality to it. Following that, now it asks for google-services.json file in the project whenever I build the project,

Execution failed for task ':processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.

Is there any way to disable firebase functionality temporarily? Or do we have to generate this particular json file from Google Firebase setup?!!

Is there any way to filter a SmartStore query with a list of values? Smart SQL doesn't seem to support WHERE {soup:field} IN [list of values] syntax, is there some other way to achieve this?

Hi,

I'm working on salesforce android SDK V5.1.0 and i'm trying to upload a new file via the FileRequests.uploadFile() function.
Unfortunately I'm getting get the following error code response:

[{"errorCode":"POST_BODY_PARSE_ERROR","message":"Missing expected \"fileData\" binary parameter"}]


Any help will be appreciated 

Are CustomLabel of salesforce accessable to the IOS SDK via the REST API?

I have been trying to access Custom label of Salesforce from Metadata API/ REST API but it seems it is not accessible. Could you suggest how to access it using ios SDK.

Post has attachment
A Salesforce app to save your time, make things easy for you
"BULK OBJECT FIELD CREATOR"

Features:
-CREATE, UPDATE, CLONE, DELETE Multiple fields for an Object
-Bulk Update Validation rules
-Bulk Object Creation
-View & Extract Object metadata (Object,Fields,Validation Rules)
-Compare 2 #Salesforce Orgs
-EXPORT & Assign #FLS for multiple profiles

Get Free Trial:
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000qDqqEAE
Photo

Hi All,

I'm having problems registering a soup with full_text indexes. With the simulator it works correctly but when I install the app on the iPad it gives an error when i register the soup. We are developing a hybrid application with Cordova, the SF SDK mobile that we are using is 5.2 and IOS version 10.3


The error we get when trying to register the soup is:

2017/07/13 10:33:49.975 APP [2231:d60b] DEBUG com.salesforce: No table for: 'Account'

2017/07/13 10:33:49.980 APP[2231:d60b] DEBUG com.salesforce: createTableStmt: CREATE TABLE IF NOT EXISTS TABLE_8 (id INTEGER PRIMARY KEY AUTOINCREMENT, soup TEXT, created INTEGER, lastModified INTEGER, TABLE_8_0 TEXT , TABLE_8_1 TEXT , TABLE_8_2 TEXT , TABLE_8_3 TEXT , TABLE_8_4 TEXT , TABLE_8_5 TEXT , TABLE_8_6 TEXT , TABLE_8_7 TEXT , TABLE_8_8 TEXT , TABLE_8_9 TEXT , TABLE_8_10 TEXT , TABLE_8_11 TEXT , TABLE_8_12 TEXT , TABLE_8_13 TEXT , TABLE_8_14 TEXT , TABLE_8_15 TEXT , TABLE_8_16 TEXT , TABLE_8_17 TEXT , TABLE_8_18 TEXT , TABLE_8_19 TEXT , TABLE_8_20 TEXT , TABLE_8_21 TEXT , TABLE_8_22 TEXT , TABLE_8_23 TEXT , TABLE_8_24 TEXT , TABLE_8_25 INTEGER , TABLE_8_26 TEXT , TABLE_8_27 TEXT , TABLE_8_28 TEXT , TABLE_8_29 TEXT , TABLE_8_30 TEXT , TABLE_8_31 TEXT , TABLE_8_32 TEXT , TABLE_8_33 INTEGER , TABLE_8_34 TEXT , TABLE_8_35 TEXT , TABLE_8_36 TEXT , TABLE_8_37 TEXT , TABLE_8_38 TEXT , TABLE_8_39 TEXT , TABLE_8_40 TEXT , TABLE_8_41 INTEGER , TABLE_8_42 TEXT , TABLE_8_43 TEXT , TABLE_8_44 INTEGER , TABLE_8_45 INTEGER , TABLE_8_46 INTEGER , TABLE_8_47 INTEGER , TABLE_8_48 TEXT , TABLE_8_49 REAL , TABLE_8_50 TEXT , TABLE_8_51 TEXT , TABLE_8_52 TEXT , TABLE_8_53 TEXT , TABLE_8_54 TEXT , TABLE_8_55 TEXT , TABLE_8_56 TEXT , TABLE_8_57 TEXT , TABLE_8_58 TEXT , TABLE_8_59 TEXT , TABLE_8_60 TEXT , TABLE_8_61 TEXT , TABLE_8_62 INTEGER , TABLE_8_63 TEXT , TABLE_8_64 INTEGER , TABLE_8_65 TEXT , TABLE_8_66 REAL , TABLE_8_67 REAL , TABLE_8_68 TEXT , TABLE_8_69 TEXT , TABLE_8_70 TEXT , TABLE_8_71 INTEGER , TABLE_8_72 TEXT , TABLE_8_73 TEXT , TABLE_8_74 TEXT )

2017/07/13 10:33:49.980 APP[2231:9a4b] DEBUG com.salesforce: createFtsStmt: CREATE VIRTUAL TABLE TABLE_8_fts USING fts5(TABLE_8_2)

2017/07/13 10:33:49.982 APP[2231:9a4b] ERROR com.salesforce: Error calling sqlite3_step (1: no such module: fts5) SQLITE_ERROR

2017/07/13 10:33:49.982 APP[2231:d60b] DEBUG com.salesforce: DB Query: CREATE VIRTUAL TABLE TABLE_8_fts USING fts5(TABLE_8_2)

2017/07/13 10:33:49.982 APP[2231:d60b] ERROR com.salesforce: Unknown error finalizing or resetting statement (1: no such module: fts5)

2017/07/13 10:33:49.982 APP[2231:9a4b] DEBUG com.salesforce: DB Query: CREATE VIRTUAL TABLE TABLE_8_fts USING fts5(TABLE_8_2)

2017/07/13 10:33:49.988 APP[2231:9a4b] DEBUG com.salesforce: pgRegisterSoup returning after 0.014317 secs.

2017-07-13 12:33:49.991207+0200 APP[2231:1304597] TIMING com.salesforce.smartstore:pgRegisterSoup: 19ms

2017-07-13 12:33:49.992392+0200 APP[2231:1304597] ERROR: TIMING com.salesforce.smartstore:pgRegisterSoup failed

2017-07-13 12:33:50.005221+0200 APP[2231:1304597] onErrorRegSoup: Register soup with spec '<SFSoupSpec: 0x17003ac80>' failed, error: Error Domain=com.salesforce.smartstore.error Code=999 "no such module: fts5" UserInfo={NSLocalizedDescription=no such module: fts5}, `argsDict`: {

indexes = (

{

path = Id;

type = string;

upsert = 1;

},

{

path = RecordTypeId;

type = string;

upsert = 1;

},

{

path = Name;

type = "full_text";

upsert = 1;

},

{

path = Description;

type = string;

upsert = 1;

},

{

path = Phone;

type = string;

upsert = 1;

},

..............

{

path = "__local__";

type = string;

upsert = 0;

}

);

isGlobalStore = 0;

soupName = Account;

}.

2017-07-13 12:33:50.007508+0200 APP[2231:1304597] Error promise:

2017-07-13 12:33:50.007803+0200 APP[2231:1304597] Register soup with spec '<SFSoupSpec: 0x17003ac80>' failed, error: Error Domain=com.salesforce.smartstore.error Code=999 "no such module: fts5" UserInfo={NSLocalizedDescription=no such module: fts5}, `argsDict`: {


indexes = (


Any Idea, help or commentary would appreciate it.


Thank you very much

Wait while more posts are being loaded