Setting Up the SAP Fiori Client App Development Environment
To build a Custom SAP Fiori Client applications, you must first set up your development environment.
PrerequisitesInstall the following:
For more information about installing Node.js see https://nodejs.org/en/.
Apache Cordova command line interface 6.5.0
For more information about installing Apache Cordova CLI see http://cordova.apache.org/docs/en/6.x/guide/cli/index.html.
Add the required platforms as follows:
- cordova platform add firstname.lastname@example.org
- cordova platform add email@example.com
- cordova platform add firstname.lastname@example.org
- SAP Mobile Platform SDK 3.0 SP15
(optional) SAP Mobile Platform Server 3.0 SP13 or higher or SAP Cloud Platform mobile service for development and operations
Make sure you can access SAP Mobile Platform Server or SAP Cloud Platform mobile service for development and operations from your machine.
(optional) Git .
For more information about installing Git see http://git-scm.com/book/en/Getting-Started-Installing-Git.
Android tools run on Windows, Linux, and OS X. To build a Custom SAP Fiori Client for Android, you need:
Java Standard Edition Development Kit
Download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html.
After installing the JDK, define the JAVA_HOME environment variable according to the JDK installation path (for example, C:\Program Files\Java\jdk1.8).
Android Studio or Microsoft Visual Studio
See http://cordova.apache.org/docs/en/6.x/guide/platforms/android/index.html for more information about getting started with Android.
If you are developing on Windows and want to connect a Google Android-powered device (such as a Nexus 7) to your development environment over USB, download the Google USB driver package from http://developer.android.com/sdk/win-usb.html.
To build a Custom SAP Fiori Client apps for iOS, you need:
- Mac OS X
- Xcode and Xcode command line tools
- Visual Studio 2015 (optional)
See http://cordova.apache.org/docs/en/6.x/guide/platforms/ios/index.html for more information about getting started with iOS.
- An Apple Developer account
- iOS development certificate
- Provisioning files for each device you are testing with
To test on a simulator, install iOS sim
You can create a Windows 10 Universal Windows Platform application when you run the create_fiori_client.js script for Windows. The built Custom SAP Fiori Client can be run on a Windows 10 Phone, Tablet, or desktop.
To build a Custom SAP Fiori Client for Windows, you need:
- Microsoft Windows 10 operating system.
- Windows 10 SDK
- Visual Studio 2015 (update 3. latest patch)
For testing on Windows devices, you need to enable your device for development. For more information, see https://msdn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development.