/salesforce-mobile-ionic

Sample start-up project for SalesForce mobile using Ionic and AngularJS.

Primary LanguageJavaScriptMIT LicenseMIT

salesforce-mobile-ionic

Sample project for SalesForce using Ionic and AngularJS.

Project created based on tutorials and found meterials regarding SalesForce.

Required

Development

Mobile

Available Ionic platforms: android, ios

  1. Install cordova plugins & initialize platforms

Install all needed dependencies based on package.json definition.

ionic state restore
  1. Add your platform to project (optional)
ionic platform add {platform}
  1. Generate resources
ionic resources
  1. Build project
ionic build {platform}
  1. Start project
ionic emulate {platform}
Web-server
  1. Go to www directory
cd www
  1. Run project locally
force-server

Then check your browser. Application will be run on port 8200

Salesforce

REST API

Android manifest

Permissions to be added to manifest in case of any troubles:

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />