The preceding steps described how to configure the server side Store.Mobile.REST module of CRS-IUA. It is important that CRS-IUA’s iOS client is configured and built through Xcode so that the configuration matches the server side setup.

To get started, open the MobileCommerce project located in the directory where you unzipped the files, at:

<home>/MobileCommerceiOS/ATGMobileStore/MobileSuite.xcworkspace
Configuration

To get CRS-IUA up and running in your environment, configure the following MobileCommerce-Info.plist entries:

Additionally, for a release build intended for production ATG_USE_HTTPS should be set to “YES” in order to enable SSL. This is strongly recommended and will require additional supporting configuration within your infrastructure to fully enable SSL.

Use this method of configuration when distributing an app, since the values of the MobileCommerce-Info.plist are used by default until they are manually overridden in the settings bundle.

Settings Bundle

The iOS client includes a Settings bundle located <home>/ATGMobileStore/MobileCommerce/Settings.bundle, where <home> is the directory where you extracted the distribution. This bundle manages server settings, such as ports, host, and Site ID, from the Settings app. This bundle is included in CRS-IUA for demonstration purposes. Once CRS-IUA is installed on the iOS device, touch MobileStore in Settings and configure the Host and Port server settings to point to your dedicated server.

Use the Settings bundle for configuration when demonstrating the application since you can quickly change server settings without rebuilding the app and reinstalling. You may want to remove the setting bundle when releasing an app and use the values defined in MobileCommerce-Info.plist.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices