Sample project for SalesForce using Ionic and AngularJS.
Project created based on tutorials and found meterials regarding SalesForce.
- NodeJS
- NPM
- force-server
- ionic
- cordova
- mobile SDK (android, ios)
- SalesForce mobile SDK
Available Ionic platforms: android, ios
- Install cordova plugins & initialize platforms
Install all needed dependencies based on package.json definition.
ionic state restore
- Add your platform to project (optional)
ionic platform add {platform}
- Generate resources
ionic resources
- Build project
ionic build {platform}
- Start project
ionic emulate {platform}
- Go to www directory
cd www
- Run project locally
force-server
Then check your browser. Application will be run on port 8200
Permissions to be added to manifest in case of any troubles:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />