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 "indexed paths" use the type specified in the indexed spec (string, integer, floating etc).
Since we don't support a type object, when you index non-leaf nodes, you ...
Same steps worked well for me and I see the login screen when I launch the app. I see the following error in your log
The node package shelljs is required to use this script. Run 'npm install shelljs' before running this script.
Update - I see this issue was logged on the Mobile SDK repo and has been closed as an environmental ...
You are probably going to be using one of two Connected App solution approaches:
an OAuth Refresh Token (stored securely by your server) for each of your 5 orgs. You will likely use the web server flow to prompt a user in the org to grant your app access to their org as them. (This might be an integration user / named principal) You'll then use that stored ...
You did all the right configuration on the app side but you missed one on the Salesforce side. You need to register the app domain under
Setup: Administer > Security Controls > CORS
This should work. It is actually documented fairly well as part of the new force.js release.
(*) Starting in the Spring 15 release, some Salesforce REST APIs (like
Finally I was able to get a solution on this so in case anyone running into Similar situation,
We need to utilise the "OnDeviceReady" event to achieve this,
Steps involved in the Solution
Since we are building a remote hybrid app for Salesforce Community, this code will go inside your Community Landing Page,
Add the eventlistener in "Onload" js,
So the hybrid app is just a wrapper for your Salesforce Community?
If that is the case could you not just replace the community login page with your own custom Visualforce SPA that contains all the pages you want them to view before login?
Note, that would also replace the login screen for the desktop experience as well.
Finally I was able to solve this.
For now - we can use relative path of ES6 .ts files to be used as import modules in app.js. I moved the force ts file to local app.js folder.Structure -
After adding the ts file successfully, there were still issues around building the app using gulp.
Because TS files are considered as superset of js files but there are ...
Salesforce Mobile SDK v3 is available and it solves this problem. You need to upgrade forcedroid and other mobile sdk stuff via NPM to get that.
As shown in picture below, the login window now always shows the action bar and easy way to change server.
But ran into other issue, after upgrade on existing projects i.e.
"Uncaught module com.salesforce.plugin....